-
Notifications
You must be signed in to change notification settings - Fork 0
/
pylintrc
23 lines (20 loc) · 1.07 KB
/
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=.git
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, raise-missing-from, imported-auth-user, import-outside-toplevel, unnecessary-comprehension, consider-using-with, consider-using-generator, consider-using-f-string, consider-using-in, use-implicit-booleaness-not-comparison, unspecified-encoding, django-not-configured, protected-access, use-a-generator, no-else-raise, use-dict-literal