-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
31 lines (27 loc) · 1009 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
24
25
26
27
28
29
30
31
[MASTER]
load-plugins=pylint_django,pylint_quotes
ignore=migrations,node_modules,venv,.venv,frontend,staticroot,scripts
max-line-length=200
include-naming-hint=y
django-settings-module=root.settings
variable-rgx=(([a-z_]+[a-z0-9_]*)|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$
argument-rgx=(([a-z_]+[a-z0-9_]*)|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$
method-rgx=(([a-z_]+[a-z0-9_]*)|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$
attr-rgx=(([a-z_]+[a-z0-9_]*)|(_[a-z0-9_]*)|(__[a-z][a-z0-9_]+__))$
[MESSAGES CONTROL]
disable=
missing-module-docstring, missing-class-docstring, missing-function-docstring, # We don't require docstrings
duplicate-code,
too-many-ancestors,
too-many-instance-attributes,
too-few-public-methods,
too-many-public-methods,
too-many-arguments,
too-many-locals,
too-many-statements,
unsubscriptable-object, # https://github.com/PyCQA/pylint/issues/1498
[VARIABLES]
[pylint-quotes]
string-quote=single-avoid-escape
triple-quote=double
docstring-quote=double