diff --git a/README.md b/README.md index 99658b0..6c8e3b4 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,6 @@ The linter will try to detect if the project is a django project and is versione The easiest way to run the tests is to invoke [py.test](https://docs.pytest.org/en/latest/). -More tests are always welcome. - ## License *django-migration-linter* is released under the [Apache 2.0 License](./LICENSE). diff --git a/django_migration_linter/__init__.py b/django_migration_linter/__init__.py index 9c63f86..2ad64ea 100644 --- a/django_migration_linter/__init__.py +++ b/django_migration_linter/__init__.py @@ -1 +1,15 @@ +# Copyright 2017 3YOURMIND GmbH + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from .migration_linter import * # noqa diff --git a/setup.py b/setup.py index 72c1191..e667805 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ test_requirements = [ setup( name='django-migration-linter', - version='0.0.1', + version='0.0.2', description='Detect backward incompatible migrations for your django project', long_description=long_description, diff --git a/tests/functional/test_cmd_line_call.py b/tests/functional/test_cmd_line_call.py index 87b88de..f4c5b95 100644 --- a/tests/functional/test_cmd_line_call.py +++ b/tests/functional/test_cmd_line_call.py @@ -1,3 +1,17 @@ +# Copyright 2017 3YOURMIND GmbH + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import unittest from subprocess import Popen, PIPE from django_migration_linter import utils diff --git a/tests/functional/test_multiple_calls.py b/tests/functional/test_multiple_calls.py index 77bf3e1..d467d19 100644 --- a/tests/functional/test_multiple_calls.py +++ b/tests/functional/test_multiple_calls.py @@ -1,8 +1,23 @@ +# Copyright 2017 3YOURMIND GmbH + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import unittest from django_migration_linter import MigrationLinter from tests import fixtures + class TestMultipleLinters(unittest.TestCase): def test_multiple_linters(self): l1 = MigrationLinter(fixtures.ADD_NOT_NULL_COLUMN_PROJECT)