diff --git a/MANIFEST.in b/MANIFEST.in index 814b5404..b4640748 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,5 +2,5 @@ include *.md include *.rst include LICENSE include pylint_django/transforms/transforms/*.py -include pylint_django/tests/testing_pylintrc +include pylint_django/tests/test_django_not_installed recursive-include pylint_django/tests/ *.py *.rc *.txt diff --git a/scripts/test_django_not_installed.sh b/pylint_django/tests/test_django_not_installed.sh similarity index 100% rename from scripts/test_django_not_installed.sh rename to pylint_django/tests/test_django_not_installed.sh diff --git a/pylint_django/tests/test_func.py b/pylint_django/tests/test_func.py index 0729f446..b446d5c7 100644 --- a/pylint_django/tests/test_func.py +++ b/pylint_django/tests/test_func.py @@ -23,7 +23,7 @@ class test_dialect(csv.excel): csv.register_dialect("test", test_dialect) - lint_module_test.PYLINTRC = HERE / "testing_pylintrc" + lint_module_test.PYLINTRC = HERE / "testing_pylint.rc" except (ImportError, AttributeError): # specify directly the directory containing test_functional.py test_functional_dir = os.getenv("PYLINT_TEST_FUNCTIONAL_DIR", "") diff --git a/pylint_django/tests/testing_pylintrc b/pylint_django/tests/testing_pylint.rc similarity index 100% rename from pylint_django/tests/testing_pylintrc rename to pylint_django/tests/testing_pylint.rc diff --git a/tox.ini b/tox.ini index 6557be36..8debc021 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ requires = [testenv] commands = - django_not_installed: bash scripts/test_django_not_installed.sh + django_not_installed: bash pylint_django/tests/test_django_not_installed.sh django_is_installed: pylint --rcfile=tox.ini --load-plugins=pylint_django --disable=E5110 setup.py flake8: flake8 pylint: pylint --rcfile=tox.ini -d missing-docstring,too-many-branches,too-many-return-statements,too-many-ancestors,fixme --ignore=tests pylint_django setup