From 6567b8f932bf2494319790805b51b6dca95c4398 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 29 Apr 2021 11:07:44 +0000 Subject: [PATCH] setup.cfg; move pylint settings here Create a setup.cfg file and move the pylint settings from .pylintrc here. This file can be used to configure other tooling as well, so it is in general more useful as a central configuration place. --- .pylintrc => setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .pylintrc => setup.cfg (82%) diff --git a/.pylintrc b/setup.cfg similarity index 82% rename from .pylintrc rename to setup.cfg index 1a7c8a30..66675bc2 100644 --- a/.pylintrc +++ b/setup.cfg @@ -1,9 +1,9 @@ -[MASTER] +[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 max-line-length=120 -[TYPECHECK] +[pylint.TYPECHECK] ignored-classes=osbuild.loop.LoopInfo -[DESIGN] +[pylint.DESIGN] max-attributes=10