@@ -30,14 +30,6 @@ unsafe-load-any-extension=no
30
30
# run arbitrary code
31
31
extension-pkg-whitelist =
32
32
33
- # Allow optimization of some AST trees. This will activate a peephole AST
34
- # optimizer, which will apply various small optimizations. For instance, it can
35
- # be used to obtain the result of joining multiple strings with the addition
36
- # operator. Joining a lot of strings can lead to a maximum recursion error in
37
- # Pylint and this flag can prevent that. It has one side effect, the resulting
38
- # AST will be different than the one from reality.
39
- optimize-ast =no
40
-
41
33
42
34
[MESSAGES CONTROL]
43
35
@@ -59,7 +51,7 @@ confidence=
59
51
# --enable=similarities". If you want to run only the classes checker, but have
60
52
# no Warning level messages displayed, use"--disable=all --enable=classes
61
53
# --disable=W"
62
- disable =R0201, W0613,I0021,I0020,C0111,W1618,W1619, R0902,R0903,W0231,W0611,R0913,W0703,C0330,R0204, I0011,R0904,R0205,R1705,R1710,W0403 ,C0415,R1725,W0707,R1732,W1512,C0209,W1514
54
+ disable =W0613,I0021,I0020,C0111,R0902,R0903,W0231,W0611,R0913,W0703,I0011,R0904,R0205,R1705,R1710,C0415,R1725,W0707,R1732,W1512,C0209,W1514
63
55
64
56
65
57
[REPORTS]
@@ -69,11 +61,6 @@ disable=R0201,W0613,I0021,I0020,C0111,W1618,W1619,R0902,R0903,W0231,W0611,R0913,
69
61
# mypackage.mymodule.MyReporterClass.
70
62
output-format =text
71
63
72
- # Put messages in a separate file for each module / package specified on the
73
- # command line instead of printing them on stdout. Reports (if any) will be
74
- # written in a file name "pylint_global.[txt|html]".
75
- files-output =no
76
-
77
64
# Tells whether to display a full report or only the messages
78
65
reports =no
79
66
@@ -91,9 +78,6 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
91
78
92
79
[BASIC]
93
80
94
- # List of builtins function names that should not be used, separated by a comma
95
- bad-functions =apply,reduce
96
-
97
81
# Good variable names which should always be accepted, separated by a comma
98
82
good-names =e,i,j,k,n,ex,Run,_
99
83
@@ -110,65 +94,35 @@ include-naming-hint=no
110
94
# Regular expression matching correct function names
111
95
function-rgx =[a-z_][a-z0-9_]{2,50}$
112
96
113
- # Naming hint for function names
114
- function-name-hint =[a-z_][a-z0-9_]{2,30}$
115
-
116
97
# Regular expression matching correct variable names
117
98
variable-rgx =[a-z_][a-z0-9_]{0,50}$
118
99
119
- # Naming hint for variable names
120
- variable-name-hint =[a-z_][a-z0-9_]{2,40}$
121
-
122
100
# Regular expression matching correct constant names
123
101
const-rgx =(([a-zA-Z_][a-zA-Z0-9_]*)|(__.*__))$
124
102
125
- # Naming hint for constant names
126
- const-name-hint =(([A-Z_][A-Z0-9_]*)|(__.*__))$
127
-
128
103
# Regular expression matching correct attribute names
129
104
attr-rgx =[a-z_][a-z0-9_]{1,50}$
130
105
131
- # Naming hint for attribute names
132
- attr-name-hint =[a-z_][a-z0-9_]{2,40}$
133
-
134
106
# Regular expression matching correct argument names
135
107
argument-rgx =[a-z_][a-z0-9_]{0,50}$
136
108
137
- # Naming hint for argument names
138
- argument-name-hint =[a-z_][a-z0-9_]{2,40}$
139
-
140
109
# Regular expression matching correct class attribute names
141
110
class-attribute-rgx =([A-Za-z_][A-Za-z0-9_]{2,40}|(__.*__))$
142
111
143
- # Naming hint for class attribute names
144
- class-attribute-name-hint =([A-Za-z_][A-Za-z0-9_]{2,40}|(__.*__))$
145
-
146
112
# Regular expression matching correct inline iteration names
147
113
inlinevar-rgx =[A-Za-z_][A-Za-z0-9_]*$
148
114
149
- # Naming hint for inline iteration names
150
- inlinevar-name-hint =[A-Za-z_][A-Za-z0-9_]*$
151
-
152
115
# Regular expression matching correct class names
153
116
class-rgx =[A-Z_][a-zA-Z0-9]+$
154
117
155
- # Naming hint for class names
156
- class-name-hint =[A-Z_][a-zA-Z0-9]+$
157
-
158
118
# Regular expression matching correct module names
159
119
module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
160
120
161
- # Naming hint for module names
162
- module-name-hint =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
163
-
164
121
# Regular expression matching correct method names
165
122
# Allow for the ast visitor method names of visit_CamelCase.
166
123
# Allow for do_HTTPMETHOD used in chalice local.
167
124
method-rgx =([a-z_][a-z0-9_]{2,50}|visit_[a-zA-Z]+|do_[A-Z]+)$
168
125
169
- # Naming hint for method names
170
- method-name-hint =[a-z_][a-z0-9_]{2,40}$
171
-
172
126
# Regular expression which should only match function or class names that do
173
127
# not require a docstring.
174
128
no-docstring-rgx =.*
@@ -190,9 +144,6 @@ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
190
144
# else.
191
145
single-line-if-stmt =no
192
146
193
- # List of optional constructs for which whitespace checking is disabled
194
- no-space-check =trailing-comma,dict-separator
195
-
196
147
# Maximum number of lines in a module
197
148
max-module-lines =1000
198
149
0 commit comments