setup: disable new pylint warnings

For now disable some new warnings from pylint:
    - `consider-using-from-import`
    - `consider-using-with`
It probably makes sense to re-enable these in the future but
for now lets keep the code as is.
This commit is contained in:
Christian Kellner 2021-11-12 17:27:35 +00:00 committed by Tom Gundersen
parent 03232f1899
commit bf655b9464

View file

@ -1,5 +1,5 @@
[pylint.MASTER]
disable=missing-docstring,too-few-public-methods,invalid-name,duplicate-code,superfluous-parens,too-many-locals,attribute-defined-outside-init,too-many-arguments
disable=missing-docstring,too-few-public-methods,invalid-name,duplicate-code,superfluous-parens,too-many-locals,attribute-defined-outside-init,too-many-arguments,consider-using-with,consider-using-from-import
[pylint.TYPECHECK]
ignored-classes=osbuild.loop.LoopInfo