build: extend pylint suppressions

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>
This commit is contained in:
David Rheinsberg 2022-09-13 12:13:33 +02:00 committed by Simon de Vlieger
parent 7d8b2302c0
commit c50f14974e

View file

@ -1,5 +1,15 @@
[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
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