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:
parent
7d8b2302c0
commit
c50f14974e
1 changed files with 11 additions and 1 deletions
12
setup.cfg
12
setup.cfg
|
|
@ -1,5 +1,15 @@
|
||||||
[pylint.MASTER]
|
[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]
|
[pylint.TYPECHECK]
|
||||||
ignored-classes=osbuild.loop.LoopInfo
|
ignored-classes=osbuild.loop.LoopInfo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue