-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pylintrc
92 lines (44 loc) · 1.01 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[MASTER]
[MESSAGE CONTROL]
disable=R,C,W
[NAMING CONVENTIONS]
argument-naming-style=snake_case
attribute_naming_style=snake_case
class-naming-style=PascalCase
class-attribute-naming-style=snake_case
const-naming-style=snake_case
function-naming-style=snake_case
inline-var-naming-style=snake_case
method-naming-style=snake_case
module-naming-style=snake_case
variable-naming-style=snake_case
[COMPLEXITY]
max-args=10
max-locals=20
max-returns=6
max-branches=15
max-statements=50
max-parents=7
max-attributes=20
max-public-methods=20
max-bool-expr=5
[FORMAT]
max-line-length=120
single-line-if-stmt=no
single-line-class-stmt=no
max-module-lines=1000
indent-string=' '
indent-after-paren=4
expected-line-ending-format=LF
[REFACTORING]
max-nested-blocks=5
[SIMILARITIES]
min-similarity-lines=4
ignore-comments=yes
ignore-docstrings=yes
ignore-imports=no
[TYPECHECK]
ignore-on-opaque-inference=no
generated-members=numpy.* ,torch.* ,cv2.* , cv.*
[VARIABLES]
allow-global-unused-variables=yes