Two more suppressions for pylint:
- line-too-long: Avoid complaining about lines longer than 100ch. We
do that all the time and this new linter-default makes
newer pylints complain all the time.
- useless-option-value: Newer pylint decided to obsolete old
annotations and start complaining that they are
obsolete. We can either stop supporting old
pylints are disable those warnings on newer
pylints. I opted for the latter.
Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
22 lines
467 B
INI
22 lines
467 B
INI
[pylint.MASTER]
|
|
disable=missing-docstring,
|
|
too-few-public-methods,
|
|
invalid-name,
|
|
duplicate-code,
|
|
superfluous-parens,
|
|
too-many-locals,
|
|
too-many-arguments,
|
|
consider-using-with,
|
|
consider-using-from-import,
|
|
line-too-long,
|
|
useless-option-value
|
|
|
|
[pylint.TYPECHECK]
|
|
ignored-classes=osbuild.loop.LoopInfo
|
|
|
|
[pylint.DESIGN]
|
|
max-attributes=10
|
|
max-statements=75
|
|
|
|
[pycodestyle]
|
|
max-line-length = 120
|