-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pylintrc
51 lines (44 loc) · 1.04 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
[MASTER]
ignore=tests
# Use a conservative default here; 2 should speed up most setups and not hurt
# any too bad. Override on command line as appropriate.
jobs=2
persistent=no
[BASIC]
good-names=id,i,j,k,ex,Run,_,fp
max-attributes=15
argument-naming-style=snake_case
attr-naming-style=snake_case
[MESSAGES CONTROL]
# Reasons disabled:
# locally-disabled - it spams too much
# too-many-* - are not enforced for the sake of readability
# too-few-* - same as too-many-*
# import-outside-toplevel - TODO
disable=
duplicate-code,
fixme,
import-outside-toplevel,
locally-disabled,
too-few-public-methods,
too-many-arguments,
too-many-public-methods,
too-many-instance-attributes,
too-many-branches,
too-many-statements,
broad-except,
too-many-lines,
too-many-locals,
unexpected-keyword-arg,
abstract-method,
cyclic-import,
[REFACTORING]
# Maximum number of nested blocks for function / method body
max-nested-blocks=8
[REPORTS]
score=no
[TYPECHECK]
# For attrs
ignored-classes=_CountingAttr
[FORMAT]
expected-line-ending-format=LF