@@ -15,7 +15,7 @@ ignore-patterns=
15
15
16
16
# Python code to execute, usually for sys.path manipulation such as
17
17
# 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())"
19
19
20
20
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
21
21
# number of processors available to use.
@@ -60,16 +60,24 @@ confidence=
60
60
# --enable=similarities". If you want to run only the classes checker, but have
61
61
# no Warning level messages displayed, use "--disable=all --enable=classes
62
62
# --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
73
81
74
82
# Enable the message, report, category or checker with the given id(s). You can
75
83
# either give multiple identifier separated by comma (,) or put this option
@@ -199,7 +207,7 @@ method-naming-style=snake_case
199
207
200
208
# Regular expression matching correct module names. Overrides module-naming-
201
209
# 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 }))$
203
211
204
212
# Colon-delimited sets of names that determine each other's naming style when
205
213
# the name regexes allow several styles.
@@ -289,7 +297,7 @@ ignore-docstrings=yes
289
297
ignore-imports =no
290
298
291
299
# Minimum lines number of a similarity.
292
- min-similarity-lines =12
300
+ min-similarity-lines =16
293
301
294
302
295
303
[SPELLING]
@@ -456,7 +464,7 @@ max-locals=24
456
464
max-parents =18
457
465
458
466
# Maximum number of public methods for a class (see R0904).
459
- max-public-methods =24
467
+ max-public-methods =90
460
468
461
469
# Maximum number of return / yield for function / method body.
462
470
max-returns =6
0 commit comments