-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpylintrc
23 lines (20 loc) · 955 Bytes
/
pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[MASTER]
ignore=migrations,.git,node_modules
ignore-paths=^.*/migrations/.*$, ^node_modules/.*
load-plugins = pylint_django
[BASIC]
# Allow django's urlpatterns, and our log preference
const-rgx = (([A-Z_][A-Z0-9_]*)|(__.*__)|log|urlpatterns)$
# Don't require docstrings for double-underscore methods, or for unittest support methods
no-docstring-rgx = __.*__$|setUp$|setUpClass$|tearDown$|tearDownClass$|Meta$|Params$
[TYPECHECK]
generated-members =
status_code
ignored-classes=
six,
six.moves,
ignored-modules=
six,
six.moves,
[MESSAGES CONTROL]
disable = no-member, too-few-public-methods, abstract-method, invalid-name, too-many-ancestors, line-too-long, len-as-condition, no-else-return, cyclic-import, duplicate-code, inconsistent-return-statements, c-extension-no-member, imported-auth-user, consider-using-f-string, consider-iterating-dictionary, consider-using-with, consider-using-dict-items, use-maxsplit-arg, django-not-configured