From ef98d51e8c36b89f904eca04209aefc242deac55 Mon Sep 17 00:00:00 2001 From: heinzel Date: Tue, 19 Oct 2021 11:17:24 +0200 Subject: [PATCH] UPD: made pylint happy again --- .pylintrc | 3 ++- src/django_deploy/tests/test_program.py | 1 + tox.ini | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 8323f46..2c83ace 100644 --- a/.pylintrc +++ b/.pylintrc @@ -3,7 +3,6 @@ persistent=no load-plugins=pylint_django - [MESSAGES CONTROL] disable=missing-docstring, @@ -12,6 +11,8 @@ disable=missing-docstring, missing-function-docstring, useless-object-inheritance, consider-using-f-string, + unspecified-encoding, + django-not-configured, [BASIC] diff --git a/src/django_deploy/tests/test_program.py b/src/django_deploy/tests/test_program.py index e61c80b..c837ae1 100644 --- a/src/django_deploy/tests/test_program.py +++ b/src/django_deploy/tests/test_program.py @@ -92,6 +92,7 @@ class ProgramInstallTestCase(AbstractProgramTestCase): 'django_deploy.tests.fake_app2', ] + # Similar code from test_api.test_install_apps self.assert_installed_apps(project_dir, installed_apps) self.assert_urlpatterns(project_dir, []) diff --git a/tox.ini b/tox.ini index 5964b46..706d993 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] -envlist = py3-django3,py3-django2 +#envlist = py3-django3,py3-django2 +envlist = py3-django3 [testenv] deps = coverage @@ -12,3 +13,4 @@ deps = coverage commands = coverage run -m pytest coverage report --skip-covered --fail-under=98 pylint django_deploy +