-
Notifications
You must be signed in to change notification settings - Fork 48
/
.pylintrc
58 lines (48 loc) · 1.29 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
53
54
55
56
57
58
[MESSAGES CONTROL]
disable=
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,
design,
anomalous-backslash-in-string,
bad-indentation,
consider-using-f-string,
duplicate-code,
global-statement,
inconsistent-return-statements,
invalid-name,
missing-docstring, multiple-imports,
missing-final-newline,
redefined-outer-name, redefined-builtin,
trailing-newlines,
trailing-whitespace,
too-many-statements,
too-many-return-statements,
unused-argument,
unnecessary-pass,
line-too-long
[REPORTS]
reports=no
score=no
[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_]*))$
const-rgx=^(([A-Z_][A-Z0-9_]*)|(__.*__)|[a-z_][a-z0-9_]*)$
method-rgx=(([a-z][a-z0-9_]{1,30})|(_[a-z0-9_]*))$
variable-rgx=(([a-z][a-z0-9_]{,30})|(_[a-z0-9_]*))$
[VARIABLES]
callbacks=_
init-import=yes
redefining-builtins-modules=six.moves,future.builtins,safeprint
[TYPECHECK]
ignored-modules=
worker,
comiccrawler.mods.*,
# FIXME: https://github.com/PyCQA/pylint/issues/3157
node_vm2