Move django-settings for pylint to pylintrc

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

No files matched your search

+1
View File
@@ -37,6 +37,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
django-settings-module=access_controller_new.access_controller.settings
# Pickle collected data for later comparisons.
persistent=yes
+1 -1
View File
@@ -170,7 +170,7 @@ Quickstart
Для проверки pylint используем:
-------------------------------
pylint --django-settings-module=access_controller_new.access_controller.settings ../access_controller_new
pylint ../access_controller_new
Вместо "access_controller_new" необходимо указать папку проекта.