From bbf8b74047f633a1c8644dc54eb0a602a6879042 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 24 Jan 2022 09:15:59 +0000 Subject: [PATCH] pylint: move config to setup.cfg This is what we do in osbuild, lets do it here too, so we are in sync about where the configuration is. --- .pylintrc | 3 --- setup.cfg | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) delete mode 100644 .pylintrc create mode 100644 setup.cfg diff --git a/.pylintrc b/.pylintrc deleted file mode 100644 index 12488cf..0000000 --- a/.pylintrc +++ /dev/null @@ -1,3 +0,0 @@ -[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 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..e447610 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,9 @@ +[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,consider-using-with,consider-using-from-import + +[pylint.DESIGN] +max-attributes=10 +max-statements=75 + +[pycodestyle] +max-line-length = 120