Fix pylint exec cmd

This commit is contained in:
Andrew Smirnov 2021-05-13 20:38:25 +03:00
parent a6ceae8240
commit f893bc15fe
No known key found for this signature in database
GPG Key ID: 0EFE318E5BB2A82A
2 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,7 @@ limit-inference-results=100
# List of plugins (as comma separated values of python module names) to load,
# usually to register additional checkers.
load-plugins= pylint_django
load-plugins=pylint_django
# Pickle collected data for later comparisons.
persistent=yes
@ -144,7 +144,6 @@ disable=print-statement,
deprecated-sys-function,
exception-escape,
comprehension-escape,
E5110,
C0415

View File

@ -149,7 +149,7 @@ docker run -d -p 8000:8000 \
Пример полной конфигурации можно найти в [.env.example](.env.example). Почту и токен админа ZenDesk взять у руководителя (если вы не админ).
## Для проверки pylint используем:
pylint ../access_controller (каталог, где лежит проект)
pylint --django-settings-module=access_controller.access_controller.settings ../access_controller (каталог, где лежит проект)
## Для приведения файлов к стандарту PEP8 используем:
autopep8 --in-place filename