Move django-settings for pylint to pylintrc

This commit is contained in:
Степаненко Ольга 2021-05-16 11:01:10 +03:00
parent aba5d9d563
commit 0b144dd881
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ limit-inference-results=100
# List of plugins (as comma separated values of python module names) to load, # List of plugins (as comma separated values of python module names) to load,
# usually to register additional checkers. # usually to register additional checkers.
load-plugins=pylint_django load-plugins=pylint_django
django-settings-module=access_controller_new.access_controller.settings
# Pickle collected data for later comparisons. # Pickle collected data for later comparisons.
persistent=yes persistent=yes

View File

@ -170,7 +170,7 @@ Quickstart
Для проверки pylint используем: Для проверки pylint используем:
------------------------------- -------------------------------
pylint --django-settings-module=access_controller_new.access_controller.settings ../access_controller_new pylint ../access_controller_new
Вместо "access_controller_new" необходимо указать папку проекта. Вместо "access_controller_new" необходимо указать папку проекта.