-
Notifications
You must be signed in to change notification settings - Fork 1
/
pylintrc
120 lines (98 loc) · 2.06 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[MASTER]
ignore=test,verify_sigs
[MESSAGES CONTROL]
disable=all
enable= # Logging
logging-too-few-args,
logging-not-lazy,
logging-too-many-args,
# Format
bad-continuation,
bad-indentation,
bad-whitespace,
line-too-long,
syntax-error,
mixed-indentation,
mixed-line-endings,
trailing-whitespace,
redefined-builtin,
# Variables
undefined-loop-variable,
undefined-variable,
unused-variable,
used-before-assignment,
# Functions
assignment-from-no-return,
dangerous-default-value,
duplicate-argument-name,
function-redefined,
no-value-for-parameter,
redundant-keyword-arg,
return-outside-function,
too-many-function-args,
unused-argument,
yield-outside-function,
not-callable,
# Classes
abstract-class-instantiated,
old-style-class,
return-in-init,
no-member,
# Sequences
bad-reversed-sequence,
invalid-sequence-index,
invalid-slice-index,
missing-reversed-argument,
unpacking-non-sequence,
# Imports
cyclic-import,
deprecated-module,
import-self,
import-error,
no-name-in-module,
reimported,
relative-import,
unused-import,
wildcard-import,
# Exceptions
bad-except-order,
catching-non-exception,
lost-exception,
notimplemented-raised,
pointless-except,
raising-bad-type,
# Misc
assert-on-tuple,
bad-open-mode,
boolean-datetime,
nonexistent-operator,
not-in-loop,
unreachable,
unnecessary-semicolon,
[REPORTS]
[VARIABLES]
[SIMILARITIES]
[MISCELLANEOUS]
[TYPECHECK]
ignored-modules=bottle
[BASIC]
function-rgx=(test_)|([a-z_][a-z0-9_]{0,30})$
variable-rgx=[a-z_][a-z0-9_]{0,30}$
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
attr-rgx=[a-z_][a-z0-9_]{0,30}$
argument-rgx=[a-z_][a-z0-9_]{0,30}$
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{0,30}|(__.*__))$
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
class-rgx=[A-Z_][a-zA-Z0-9]+$
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
method-rgx=(test_)|([a-z_][a-z0-9_]{0,30})$
no-docstring-rgx=__.*__
dummy-variables-rgx=_$|dummy
[FORMAT]
max-line-length=120
[LOGGING]
[CLASSES]
[IMPORTS]
[DESIGN]
max-args=10
[EXCEPTIONS]