-
Notifications
You must be signed in to change notification settings - Fork 8
/
.pylintrc
executable file
·46 lines (34 loc) · 1.24 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
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s).
disable=import-error,duplicate-code,missing-docstring,too-few-public-methods,
bad-builtin,super-init-not-called,star-args,unused-import,broad-except,
invalid-name,unused-argument,line-too-long,unused-variable,
stop-iteration-return,no-else-return,ungrouped-imports,
useless-super-delegation,no-self-use,unnecessary-lambda,
too-many-function-args,bad-continuation,locally-disabled,
protected-access,unnecessary-pass,
[VARIABLES]
# Tells whether we should check for unused import in __init__ files.
init-import=no
# A regular expression matching the name of dummy variables (i.e. expectedly
# not used).
dummy-variables-rgx=_|__
[BASIC]
# Good variable names which should always be accepted, separated by a comma
good-names=i,j,k,_,__,ok,id
# Regular expression matching correct constant names
const-rgx=(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$
# Regular expression matching correct function names
function-rgx=(test_)?[a-z_][a-z0-9_]{2,35}$
[REPORTS OPTIONS]
# Disable reports
reports=no
[DESIGN]
[FORMAT]
max-line-length=120
max-locals=35
max-attributes=25
max-nested-blocks=10
max-branches=20
max-statements=85
max-args=15