@@ -15,7 +15,7 @@ ignore-patterns=
1515
1616# Python code to execute, usually for sys.path manipulation such as
1717# pygtk.require().
18- init-hook =" import sys; sys.setrecursionlimit(8 * sys.getrecursionlimit())"
18+ init-hook =" import sys; sys.path.insert(0, 'src'); sys. setrecursionlimit(8 * sys.getrecursionlimit())"
1919
2020# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
2121# number of processors available to use.
@@ -60,16 +60,24 @@ confidence=
6060# --enable=similarities". If you want to run only the classes checker, but have
6161# no Warning level messages displayed, use "--disable=all --enable=classes
6262# --disable=W".
63- disable =assignment-from-no-return,
64- undefined-all-variable,
65- global-statement,
66- global-variable-not-assigned,
67- global-variable-undefined,
68- import-outside-toplevel,
69- useless-object-inheritance,
70- super-with-arguments,
71- raise-missing-from,
72- consider-using-f-string
63+ disable =
64+ # Allow freedom with imports.
65+ import-outside-toplevel,
66+ # Allow freedom with globals.
67+ global-statement,
68+ global-variable-not-assigned,
69+ global-variable-undefined,
70+ undefined-all-variable,
71+ # Allow freedom with inheritance.
72+ useless-object-inheritance,
73+ super-with-arguments,
74+ # Allow assigning to returned None.
75+ assignment-from-no-return,
76+ assignment-from-none,
77+ # Allow freedom with error raises.
78+ raise-missing-from,
79+ # Allow freedom with string formatting.
80+ consider-using-f-string
7381
7482# Enable the message, report, category or checker with the given id(s). You can
7583# either give multiple identifier separated by comma (,) or put this option
@@ -199,7 +207,7 @@ method-naming-style=snake_case
199207
200208# Regular expression matching correct module names. Overrides module-naming-
201209# style.
202- module-rgx =^(test_)?((?P<snake>_? [a-z][a-z0-9_]{1,29})|(?P<Pascal>_?[A-Z][a-zA-Z0-9]{1,29}))$
210+ module-rgx =^(test_)?((?P<snake>_{0,2} [a-z][a-z0-9_]{1,29}_{0,2} )|(?P<Pascal>_?[A-Z][a-zA-Z0-9]{1,29}_{0,2 }))$
203211
204212# Colon-delimited sets of names that determine each other's naming style when
205213# the name regexes allow several styles.
@@ -289,7 +297,7 @@ ignore-docstrings=yes
289297ignore-imports =no
290298
291299# Minimum lines number of a similarity.
292- min-similarity-lines =12
300+ min-similarity-lines =16
293301
294302
295303[SPELLING]
@@ -456,7 +464,7 @@ max-locals=24
456464max-parents =18
457465
458466# Maximum number of public methods for a class (see R0904).
459- max-public-methods =24
467+ max-public-methods =90
460468
461469# Maximum number of return / yield for function / method body.
462470max-returns =6
0 commit comments