@@ -11,7 +11,7 @@ init-hook="import numpy"
1111
1212# Add files or directories to the blacklist. They should be base names, not
1313# paths.
14- ignore =build,pygem.egg-info,docs,dockerfiles,code_formatter.sh,pyproject.toml
14+ ignore =
1515
1616# Pickle collected data for later comparisons.
1717persistent =no
@@ -39,7 +39,7 @@ extension-pkg-whitelist=
3939# operator. Joining a lot of strings can lead to a maximum recursion error in
4040# Pylint and this flag can prevent that. It has one side effect, the resulting
4141# AST will be different than the one from reality.
42- # optimize-ast=no
42+ optimize-ast =no
4343
4444
4545[MESSAGES CONTROL]
@@ -51,7 +51,7 @@ confidence=
5151# Enable the message, report, category or checker with the given id(s). You can
5252# either give multiple identifier separated by comma (,) or put this option
5353# multiple time. See also the "--disable" option for examples.
54- # disable=
54+ disable =
5555# too-many-instance-attributes,
5656# len-as-condition,
5757# too-few-public-methods,
@@ -126,23 +126,11 @@ confidence=
126126# bad-python3-import,
127127# deprecated-string-function,
128128# deprecated-str-translate-call,
129- ; import-error,
130- ; arguments-differ,
131- ; F401,
132- ; C0114,
133- ; C0115,
134- ; C0116,
135- ; R0801,
136- ; W0511,
137- ; R0914,
138- ; R0915,
139- ; C0103,
129+ import-error,
130+ arguments-differ,
140131# invalid-name,
141132# consider-using-enumerate
142133
143- disable =import-error,arguments-differ,F401,C0114,C0115,C0116,R0801,W0511,R0914,R0915,C0103
144-
145-
146134# Needs investigation:
147135# abstract-method (might be indicating a bug? probably not though)
148136# protected-access (requires some refactoring)
@@ -334,61 +322,61 @@ include-naming-hint=no
334322function-rgx =[a-z_][a-z0-9_]{2,30}$
335323
336324# Naming hint for function names
337- # function-name-hint=[a-z_][a-z0-9_]{2,30}$
325+ function-name-hint =[a-z_][a-z0-9_]{2,30}$
338326
339327# Regular expression matching correct variable names
340328variable-rgx =[a-z_][a-z0-9_]{2,30}$
341329
342330# Naming hint for variable names
343- # variable-name-hint=[a-z_][a-z0-9_]{2,30}$
331+ variable-name-hint =[a-z_][a-z0-9_]{2,30}$
344332
345333# Regular expression matching correct constant names
346334const-rgx =(([A-Z_][A-Z0-9_]*)|(__.*__))$
347335
348336# Naming hint for constant names
349- # const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
337+ const-name-hint =(([A-Z_][A-Z0-9_]*)|(__.*__))$
350338
351339# Regular expression matching correct attribute names
352340attr-rgx =[a-z_][a-z0-9_]{2,30}$
353341
354342# Naming hint for attribute names
355- # attr-name-hint=[a-z_][a-z0-9_]{2,30}$
343+ attr-name-hint =[a-z_][a-z0-9_]{2,30}$
356344
357345# Regular expression matching correct argument names
358346argument-rgx =[a-z_][a-z0-9_]{2,30}$
359347
360348# Naming hint for argument names
361- # argument-name-hint=[a-z_][a-z0-9_]{2,30}$
349+ argument-name-hint =[a-z_][a-z0-9_]{2,30}$
362350
363351# Regular expression matching correct class attribute names
364352class-attribute-rgx =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
365353
366354# Naming hint for class attribute names
367- # class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
355+ class-attribute-name-hint =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
368356
369357# Regular expression matching correct inline iteration names
370358inlinevar-rgx =[A-Za-z_][A-Za-z0-9_]*$
371359
372360# Naming hint for inline iteration names
373- # inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
361+ inlinevar-name-hint =[A-Za-z_][A-Za-z0-9_]*$
374362
375363# Regular expression matching correct class names
376364class-rgx =[A-Z_][a-zA-Z0-9]+$
377365
378366# Naming hint for class names
379- # class-name-hint=[A-Z_][a-zA-Z0-9]+$
367+ class-name-hint =[A-Z_][a-zA-Z0-9]+$
380368
381369# Regular expression matching correct module names
382370module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
383371
384372# Naming hint for module names
385- # module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
373+ module-name-hint =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
386374
387375# Regular expression matching correct method names
388376method-rgx =[a-z_][a-z0-9_]{2,30}$
389377
390378# Naming hint for method names
391- # method-name-hint=[a-z_][a-z0-9_]{2,30}$
379+ method-name-hint =[a-z_][a-z0-9_]{2,30}$
392380
393381# Regular expression which should only match function or class names that do
394382# not require a docstring.
@@ -402,7 +390,7 @@ docstring-min-length=-1
402390[ELIF]
403391
404392# Maximum number of nested blocks for function / method body
405- max-nested-blocks =6
393+ max-nested-blocks =5
406394
407395
408396[IMPORTS]
@@ -428,9 +416,6 @@ int-import-graph=
428416# Maximum number of arguments for function / method
429417max-args =8
430418
431- # Maximum number of positional arguments for function / method
432- max-positional-arguments =6
433-
434419# Argument names that match this expression will be ignored. Default to name
435420# with leading underscore
436421ignored-argument-names =_.*
@@ -442,7 +427,7 @@ max-locals=20
442427max-returns =4
443428
444429# Maximum number of branch for function / method body
445- max-branches =13
430+ max-branches =12
446431
447432# Maximum number of statements in function / method body
448433max-statements =50
@@ -451,16 +436,16 @@ max-statements=50
451436max-parents =7
452437
453438# Maximum number of attributes for a class (see R0902).
454- max-attributes =8
439+ max-attributes =7
455440
456441# Minimum number of public methods for a class (see R0903).
457- min-public-methods =1
442+ min-public-methods =2
458443
459444# Maximum number of public methods for a class (see R0904).
460445max-public-methods =20
461446
462447# Maximum number of boolean expressions in a if statement
463- max-bool-expr =6
448+ max-bool-expr =5
464449
465450
466451[CLASSES]
@@ -483,4 +468,4 @@ exclude-protected=_asdict,_fields,_replace,_source,_make
483468
484469# Exceptions that will emit a warning when being caught. Defaults to
485470# "Exception"
486- overgeneral-exceptions =builtins. Exception
471+ overgeneral-exceptions =Exception
0 commit comments