-
-
Notifications
You must be signed in to change notification settings - Fork 168
/
.pylintrc
66 lines (59 loc) · 1.7 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
59
60
61
62
63
64
65
66
[MASTER]
load-plugins=pylint.extensions.docstyle, pylint.extensions.mccabe
score=n
[MESSAGES CONTROL]
enable=all
# Enable all then relax disable instead of disable all and enable one-by-one
disable=c-extension-no-member,
fixme,
import-error,
inconsistent-return-statements,
line-too-long,
locally-disabled,
logging-too-many-args,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
protected-access,
suppressed-message,
too-few-public-methods,
too-many-ancestors,
too-many-arguments,
too-many-boolean-expressions,
too-many-branches,
too-many-branches,
too-many-format-args,
too-many-function-args,
too-many-instance-attributes,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-locals,
too-many-nested-blocks,
too-many-public-methods,
too-many-return-statements,
too-many-star-expressions,
too-many-statements,
unused-argument,
# TODO: Re-enable the following one
attribute-defined-outside-init,
consider-using-f-string,
implicit-str-concat,
too-complex,
[REPORTS]
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
output-format=colorized
reports=no
[SIMILARITIES]
min-similarity-lines=14
ignore-comments=yes
ignore-docstrings=yes
[DESIGN]
# McCabe complexity cyclomatic threshold for too-complex check
# Value definied from https://en.wikipedia.org/wiki/Cyclomatic_complexity
# - The figure of 10 had received substantial corroborating evidence,
# but that in some circumstances it may be appropriate to relax the restriction
# and permit modules with a complexity as high as 15
max-complexity=15
[BASIC]
good-names=maxDiff