-
Notifications
You must be signed in to change notification settings - Fork 12
/
.pylintrc
52 lines (42 loc) · 1.15 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[MESSAGES CONTROL]
disable=
bad-indentation,
raw-checker-failed, locally-disabled, file-ignored,
suppressed-message, fixme,
# https://github.com/PyCQA/pylint/issues/1369
function-redefined,
# https://github.com/PyCQA/pylint/issues/782
not-context-manager,
anomalous-backslash-in-string,
global-statement,
missing-docstring, multiple-imports,
redefined-outer-name, redefined-builtin,
trailing-whitespace,
unused-argument,
unnecessary-pass,
wrong-import-position,
wrong-import-order
[REPORTS]
# reports=yes
# score=yes
[REFACTORING]
# Maximum number of nested blocks for function / method body
max-nested-blocks=5
[BASIC]
argument-rgx=(([a-z][a-z0-9_]{,30})|(_[a-z0-9_]*))$
attr-rgx=(([a-z][a-z0-9_]{1,30})|(_[a-z0-9_]*)|([A-Z_][A-Z0-9_]*))$
const-rgx=^(([A-Z_][A-Z0-9_]*)|(__.*__)|[a-z_][a-z0-9_]*)$
method-rgx=^([a-z_]+|test_[a-zA-Z_]+)$
variable-rgx=(([a-z][a-z0-9_]{,30})|(_[a-z0-9_]*))$
[VARIABLES]
callbacks=_
init-import=yes
redefining-builtins-modules=six.moves,future.builtins,safeprint
[DESIGN]
max-args=10
max-attributes=21
max-locals=30
min-public-methods=0
max-parents=14
[TYPECHECK]
#ignored-modules=worker, comiccrawler.mods.*