Bump version to 0.0.2 and add missing LICENSE header in some files
This commit is contained in:
1 parent
15b2fbb9e1
commit
dce73390fb
5 files changed
+44
-3
No files matched your search
@@ -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/).
|
The easiest way to run the tests is to invoke [py.test](https://docs.pytest.org/en/latest/).
|
||||||
|
|
||||||
More tests are always welcome.
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
*django-migration-linter* is released under the [Apache 2.0 License](./LICENSE).
|
*django-migration-linter* is released under the [Apache 2.0 License](./LICENSE).
|
||||||
@@ -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
|
from .migration_linter import * # noqa
|
||||||
@@ -34,7 +34,7 @@ test_requirements = [
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='django-migration-linter',
|
name='django-migration-linter',
|
||||||
version='0.0.1',
|
version='0.0.2',
|
||||||
|
|
||||||
description='Detect backward incompatible migrations for your django project',
|
description='Detect backward incompatible migrations for your django project',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
|||||||
@@ -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
|
import unittest
|
||||||
from subprocess import Popen, PIPE
|
from subprocess import Popen, PIPE
|
||||||
from django_migration_linter import utils
|
from django_migration_linter import utils
|
||||||
|
|||||||
@@ -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
|
import unittest
|
||||||
|
|
||||||
from django_migration_linter import MigrationLinter
|
from django_migration_linter import MigrationLinter
|
||||||
from tests import fixtures
|
from tests import fixtures
|
||||||
|
|
||||||
|
|
||||||
class TestMultipleLinters(unittest.TestCase):
|
class TestMultipleLinters(unittest.TestCase):
|
||||||
def test_multiple_linters(self):
|
def test_multiple_linters(self):
|
||||||
l1 = MigrationLinter(fixtures.ADD_NOT_NULL_COLUMN_PROJECT)
|
l1 = MigrationLinter(fixtures.ADD_NOT_NULL_COLUMN_PROJECT)
|
||||||
|
|||||||
Reference in new issue
Block a user