-
Notifications
You must be signed in to change notification settings - Fork 1
/
pylintrc
72 lines (63 loc) · 1.65 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
67
68
69
70
71
72
[MESSAGES CONTROL]
# We use modules not always available.
# C0111 = Missing docstring
# R0201 = Method could be a function
# W0142 = Used * or ** magic
# E1103 = Instance has no member
# (but types could not be inferred)
# W0212 = Access to a protected member
# W0703 = too general exception
# R0912 = too many branches
# R0915 = too many statements
# R0914 = too many local variables
# R0921 = abstract class not referenced
disable=C0111,R0201,W0142,E1103,W0613,W0212,W0703,R0912,R0915,R0914,R0921
disable-msg=C0111,R0201,W0142,E1103,W0613,W0212,W0703,R0912,R0915,R0914,R0921
[VARIABLES]
init-import=yes
dummy-variables-rgx=_
additional-builtins=
[BASIC]
required-attributes=
no-docstring-rgx=__.*__
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
const-rgx=(([A-Z_][a-zA-Z1-9_]*)|(__.*__))$
class-rgx=[A-Z_][a-zA-Z0-9]+$
function-rgx=[a-z_][a-z0-9_]{2,40}$
method-rgx=[a-z_][a-z0-9_]{2,40}$
attr-rgx=[a-z_][a-z0-9_]{1,30}$
argument-rgx=[a-z_][a-z0-9_]{1,40}$
variable-rgx=[a-z_][a-z0-9_]{1,40}$
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
good-names=a,b,c,d,e,f,i,j,k,v,l,m,n,ex,p,id,fd,rc,o,r,s,t,rv,u,w,x,y,z,_,fn,cb,ip
bad-names=
bad-functions=
[DESIGN]
max-args=12
max-locals=30
max-returns=12
max-branchs=30
max-statements=100
max-parents=7
max-attributes=30
min-public-methods=0
max-public-methods=100
[FORMAT]
max-line-length=100
max-module-lines=1200
indent-string=' '
[MISCELLANEOUS]
notes=FIXME,XXX,TODO
[TYPECHECK]
ignore-mixin-members=yes
[SIMILARITIES]
min-similarity-lines=10
ignore-comments=yes
ignore-docstrings=yes
[CLASSES]
defining-attr-methods=__init__
[REPORTS]
output-format=parseable
include-ids=yes
files-output=no
reports=yes