@@ -51,85 +51,29 @@ confidence=
5151# no Warning level messages displayed, use"--disable=all --enable=classes
5252# --disable=W"
5353disable =
54- print-statement,
55- parameter-unpacking,
56- unpacking-in-except,
57- old-raise-syntax,
58- backtick,
59- long-suffix,
60- old-ne-operator,
61- old-octal-literal,
62- import-star-module-level,
63- raw-checker-failed,
64- bad-inline-option,
65- locally-disabled,
66- locally-enabled,
67- file-ignored,
68- suppressed-message,
69- useless-suppression,
70- deprecated-pragma,
71- apply-builtin,
72- basestring-builtin,
73- buffer-builtin,
74- cmp-builtin,
75- coerce-builtin,
76- execfile-builtin,
77- file-builtin,
78- long-builtin,
79- raw_input-builtin,
80- reduce-builtin,
81- standarderror-builtin,
82- unicode-builtin,
83- xrange-builtin,
84- coerce-method,
85- delslice-method,
86- getslice-method,
87- setslice-method,
88- no-absolute-import,
89- old-division,
90- dict-iter-method,
91- dict-view-method,
92- next-method-called,
93- metaclass-assignment,
94- indexing-exception,
95- raising-string,
96- reload-builtin,
97- oct-method,
98- hex-method,
99- nonzero-method,
100- cmp-method,
101- input-builtin,
102- round-builtin,
103- intern-builtin,
104- unichr-builtin,
105- map-builtin-not-iterating,
106- zip-builtin-not-iterating,
107- range-builtin-not-iterating,
108- filter-builtin-not-iterating,
109- using-cmp-argument,
110- eq-without-hash,
111- div-method,
112- idiv-method,
113- rdiv-method,
114- exception-message-attribute,
115- invalid-str-codec,
116- sys-max-int,
117- bad-python3-import,
118- deprecated-string-function,
119- deprecated-str-translate-call,
120- missing-docstring,
54+ fixme,
55+ global-statement,
12156 invalid-name,
57+ missing-docstring,
58+ redefined-outer-name,
12259 too-few-public-methods,
123- fixme ,
60+ too-many-locals ,
12461 too-many-arguments,
62+ unnecessary-pass,
63+ broad-except,
64+ duplicate-code,
12565 too-many-branches,
126- unpacking-non-sequence,
127- wildcard-import,
128- unused-wildcard-import,
129- singleton-comparison,
130- bad-continuation,
66+ too-many-return-statements,
67+ too-many-public-methods,
68+ too-many-ancestors,
69+ too-many-instance-attributes,
70+ too-many-statements,
71+ attribute-defined-outside-init,
72+ unsupported-assignment-operation,
73+ unsupported-delete-operation,
74+ too-many-nested-blocks,
75+ protected-access,
13176 wrong-import-order,
132- unsubscriptable-object,
13377
13478# Enable the message, report, category or checker with the given id(s). You can
13579# either give multiple identifier separated by comma (,) or put this option
@@ -171,46 +115,28 @@ max-nested-blocks=5
171115
172116[BASIC]
173117
174- # Naming hint for argument names
175- argument-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
176-
177118# Regular expression matching correct argument names
178119argument-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
179120
180- # Naming hint for attribute names
181- attr-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
182-
183121# Regular expression matching correct attribute names
184122attr-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
185123
186124# Bad variable names which should always be refused, separated by a comma
187125bad-names =foo,bar,baz,toto,tutu,tata
188126
189- # Naming hint for class attribute names
190- class-attribute-name-hint =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
191-
192127# Regular expression matching correct class attribute names
193128class-attribute-rgx =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
194129
195- # Naming hint for class names
196- class-name-hint =[A-Z_][a-zA-Z0-9]+$
197-
198130# Regular expression matching correct class names
199131class-rgx =[A-Z_][a-zA-Z0-9]+$
200132
201- # Naming hint for constant names
202- const-name-hint =(([A-Z_][A-Z0-9_]*)|(__.*__))$
203-
204133# Regular expression matching correct constant names
205134const-rgx =(([A-Z_][A-Z0-9_]*)|(__.*__))$
206135
207136# Minimum line length for functions/classes that require docstrings, shorter
208137# ones are exempt.
209138docstring-min-length =-1
210139
211- # Naming hint for function names
212- function-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
213-
214140# Regular expression matching correct function names
215141function-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
216142
@@ -220,21 +146,12 @@ good-names=i,j,k,ex,Run,_
220146# Include a hint for the correct naming format with invalid-name
221147include-naming-hint =no
222148
223- # Naming hint for inline iteration names
224- inlinevar-name-hint =[A-Za-z_][A-Za-z0-9_]*$
225-
226149# Regular expression matching correct inline iteration names
227150inlinevar-rgx =[A-Za-z_][A-Za-z0-9_]*$
228151
229- # Naming hint for method names
230- method-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
231-
232152# Regular expression matching correct method names
233153method-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
234154
235- # Naming hint for module names
236- module-name-hint =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
237-
238155# Regular expression matching correct module names
239156module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
240157
@@ -250,9 +167,6 @@ no-docstring-rgx=^_
250167# to this list to register other decorators that produce valid properties.
251168property-classes =abc.abstractproperty
252169
253- # Naming hint for variable names
254- variable-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
255-
256170# Regular expression matching correct variable names
257171variable-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
258172
@@ -278,12 +192,6 @@ max-line-length=88
278192# Maximum number of lines in a module
279193max-module-lines =1000
280194
281- # List of optional constructs for which whitespace checking is disabled. `dict-
282- # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
283- # `trailing-comma` allows a space between comma and closing bracket: (a, ).
284- # `empty-line` allows space-only lines.
285- no-space-check =trailing-comma,dict-separator
286-
287195# Allow the body of a class to be on the same line as the declaration if body
288196# contains single statement.
289197single-line-class-stmt =no
0 commit comments