This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
persistent=no
|
persistent=no
|
||||||
load-plugins=pylint_django
|
load-plugins=pylint_django
|
||||||
|
|
||||||
|
|
||||||
[MESSAGES CONTROL]
|
[MESSAGES CONTROL]
|
||||||
|
|
||||||
disable=missing-docstring,
|
disable=missing-docstring,
|
||||||
@@ -12,6 +11,8 @@ disable=missing-docstring,
|
|||||||
missing-function-docstring,
|
missing-function-docstring,
|
||||||
useless-object-inheritance,
|
useless-object-inheritance,
|
||||||
consider-using-f-string,
|
consider-using-f-string,
|
||||||
|
unspecified-encoding,
|
||||||
|
django-not-configured,
|
||||||
|
|
||||||
[BASIC]
|
[BASIC]
|
||||||
|
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ class ProgramInstallTestCase(AbstractProgramTestCase):
|
|||||||
'django_deploy.tests.fake_app2',
|
'django_deploy.tests.fake_app2',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Similar code from test_api.test_install_apps
|
||||||
self.assert_installed_apps(project_dir, installed_apps)
|
self.assert_installed_apps(project_dir, installed_apps)
|
||||||
self.assert_urlpatterns(project_dir, [])
|
self.assert_urlpatterns(project_dir, [])
|
||||||
|
|
||||||
|
|||||||
4
tox.ini
4
tox.ini
@@ -1,5 +1,6 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py3-django3,py3-django2
|
#envlist = py3-django3,py3-django2
|
||||||
|
envlist = py3-django3
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = coverage
|
deps = coverage
|
||||||
@@ -12,3 +13,4 @@ deps = coverage
|
|||||||
commands = coverage run -m pytest
|
commands = coverage run -m pytest
|
||||||
coverage report --skip-covered --fail-under=98
|
coverage report --skip-covered --fail-under=98
|
||||||
pylint django_deploy
|
pylint django_deploy
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user