-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pylintrc
36 lines (31 loc) · 875 Bytes
/
.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
[BASIC]
good-names=logger,f,i,db,_,df,g
variable-rgx=[a-z_][a-z0-9_]{2,40}$
function-rgx=[a-z_][a-z0-9_]{2,100}$
argument-rgx=[a-z_][a-z0-9_]{2,40}$|mock_[A-Za-z0-9_]+
method-rgx=[a-z_][a-z0-9_]{2,80}$
const-rgx=([A-Z_][A-Z0-9_]*|__.*__|[a-z_][a-z0-9_]{2,30})$
max-attributes=12
[MESSAGES CONTROL]
disable=missing-docstring,fixme,
missing-module-docstring,
redefined-outer-name, # py.test fixtures
locally-disabled,
bad-continuation, #follow the convention of pep8
inconsistent-return-statements,
no-else-return,
too-few-public-methods,
logging-fstring-interpolation,
logging-format-interpolation,
no-self-use
[FORMAT]
max-line-length=80
[SIMILARITIES]
ignore-docstrings=yes
ignore-imports=yes
min-similarity-lines=6
[DESIGN]
max-locals=25
max-args=10
[TYPECHECK]
ignored-modules=distutils