From f893bc15fe06cfbc65fe8f86863555d96ac3ef75 Mon Sep 17 00:00:00 2001 From: Andrew Smirnov Date: Thu, 13 May 2021 20:38:25 +0300 Subject: [PATCH] Fix pylint exec cmd --- .pylintrc | 3 +-- README.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.pylintrc b/.pylintrc index b736d99..2fe14cc 100644 --- a/.pylintrc +++ b/.pylintrc @@ -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 diff --git a/README.md b/README.md index 8885598..c3b9666 100644 --- a/README.md +++ b/README.md @@ -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