From bf655b9464ae5fe88e9063510e5df56846c2d457 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Fri, 12 Nov 2021 17:27:35 +0000 Subject: [PATCH] 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. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index cdbdba7f..9e7774b5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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