@@ -51,11 +51,8 @@ confidence=
5151# --enable=similarities". If you want to run only the classes checker, but have
5252# no Warning level messages displayed, use"--disable=all --enable=classes
5353# --disable=W"
54- disable =print-statement,
55- duplicate-code,
54+ disable =duplicate-code,
5655 import-error,
57- bad-whitespace,
58- bad-continuation,
5956 consider-using-f-string,
6057 too-few-public-methods,
6158 too-many-instance-attributes,
@@ -230,12 +227,6 @@ max-line-length=88
230227# Maximum number of lines in a module
231228max-module-lines =1000
232229
233- # List of optional constructs for which whitespace checking is disabled. `dict-
234- # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
235- # `trailing-comma` allows a space between comma and closing bracket: (a, ).
236- # `empty-line` allows space-only lines.
237- no-space-check =trailing-comma,dict-separator
238-
239230# Allow the body of a class to be on the same line as the declaration if body
240231# contains single statement.
241232single-line-class-stmt =no
@@ -262,48 +253,29 @@ min-similarity-lines=4
262253
263254[BASIC]
264255
265- # Naming hint for argument names
266- argument-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
267-
268256# Regular expression matching correct argument names
269257argument-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
270258
271- # Naming hint for attribute names
272- attr-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
273-
274259# Regular expression matching correct attribute names
275260attr-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
276261
277262# Bad variable names which should always be refused, separated by a comma
278263bad-names =foo,bar,baz,toto,tutu,tata
279264
280- # Naming hint for class attribute names
281- class-attribute-name-hint =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
282-
283265# Regular expression matching correct class attribute names
284266class-attribute-rgx =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
285267
286- # Naming hint for class names
287- # class-name-hint=[A-Z_][a-zA-Z0-9]+$
288- class-name-hint =[A-Z_][a-zA-Z0-9_]+$
289-
290268# Regular expression matching correct class names
291269# class-rgx=[A-Z_][a-zA-Z0-9]+$
292270class-rgx =[A-Z_][a-zA-Z0-9_]+$
293271
294- # Naming hint for constant names
295- const-name-hint =(([A-Z_][A-Z0-9_]*)|(__.*__))$
296-
297272# Regular expression matching correct constant names
298273const-rgx =(([A-Z_][A-Z0-9_]*)|(__.*__))$
299274
300275# Minimum line length for functions/classes that require docstrings, shorter
301276# ones are exempt.
302277docstring-min-length =-1
303278
304- # Naming hint for function names
305- function-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
306-
307279# Regular expression matching correct function names
308280function-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
309281
@@ -314,21 +286,12 @@ good-names=r,g,b,w,i,j,k,n,x,y,z,ex,ok,Run,_
314286# Include a hint for the correct naming format with invalid-name
315287include-naming-hint =no
316288
317- # Naming hint for inline iteration names
318- inlinevar-name-hint =[A-Za-z_][A-Za-z0-9_]*$
319-
320289# Regular expression matching correct inline iteration names
321290inlinevar-rgx =[A-Za-z_][A-Za-z0-9_]*$
322291
323- # Naming hint for method names
324- method-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
325-
326292# Regular expression matching correct method names
327293method-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
328294
329- # Naming hint for module names
330- module-name-hint =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
331-
332295# Regular expression matching correct module names
333296module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
334297
@@ -344,9 +307,6 @@ no-docstring-rgx=^_
344307# to this list to register other decorators that produce valid properties.
345308property-classes =abc.abstractproperty
346309
347- # Naming hint for variable names
348- variable-name-hint =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
349-
350310# Regular expression matching correct variable names
351311variable-rgx =(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
352312
0 commit comments