-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.pylintrc
47 lines (29 loc) · 983 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
37
38
39
40
41
42
43
44
45
46
47
[MASTER]
# Needed for lxml
unsafe-load-any-extension=yes
[MESSAGES CONTROL]
disable=
C1801, ; Do not use len(SEQUENCE) as condition value
E1103, ; Has no member (but some types could not be inferred)
W0142, ; Used '*' or '**' in method call
W0511, ; TODOs
[REPORTS]
output-format=colorized
reports=no
[BASIC]
good-names=i,j,k,_
bad-names=foo,bar,baz,temp,this,that,var
# Regular expression matching correct function names
function-rgx=[a-z_][a-z0-9_]{2,60}$
# Regular expression matching correct method names
method-rgx=[a-z_][a-z0-9_]{2,60}$
# Regular expression matching correct argument names
argument-rgx=[a-z_][a-z0-9_]+$
# Regular expression matching correct attribute names
attr-rgx=[a-z_][a-z0-9_]{2,60}$
[VARIABLES]
# Tells whether we should check for unused import in __init__ files.
init-import=yes
# A regular expression matching the name of dummy variables (i.e. expectedly
# not used).
dummy-variables-rgx=(_+[a-z0-9_]*?$)|args|kwargs