-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
.pylintrc
35 lines (32 loc) · 663 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
[MASTER]
disable=
C0111,
C0201,
C0302,
C0412,
F0401,
R0201,
R0204,
R0902,
R0903,
R0911,
R0912,
R0913,
R0914,
R0915,
R1705,
R1721,
R1723,
W0511,
W0640,
E1121
# C0412, R0201, R0204, R0912, R0913, R0914, R0915, W0640 should removed
variable-rgx=[a-z_][a-z0-9_]{0,30}$
function-rgx=[a-z_][a-z0-9_]{2,40}$
class-rgx=[A-Z_][a-zA-Z0-9_]+$
argument-rgx=[a-z_][a-z0-9_]{0,40}$
attr-rgx=[a-z_][a-z0-9_]{0,30}$
ignored-modules=magic_uv.common
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,40}|(__.*__))$
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9_]+))$
method-rgx=[a-z_][a-z0-9_]{2,40}$