From 3d59de31771d059f2641b4ca0c8ddffe04c4e319 Mon Sep 17 00:00:00 2001 From: Lenn Date: Tue, 8 Oct 2024 20:42:30 +0200 Subject: [PATCH] Put pylint config in pyproject.toml --- pylintrc | 20 -------------------- pyproject.toml | 26 +++++++++++++++++++++++++- 2 files changed, 25 insertions(+), 21 deletions(-) delete mode 100644 pylintrc diff --git a/pylintrc b/pylintrc deleted file mode 100644 index d7be57d..0000000 --- a/pylintrc +++ /dev/null @@ -1,20 +0,0 @@ -[MASTER] -reports=no - -disable= - invalid-name, - protected-access, - broad-except, - bare-except, - abstract-method, - duplicate-code, - too-few-public-methods, - too-many-arguments, - too-many-branches, - too-many-instance-attributes, - too-many-lines, - too-many-locals, - too-many-public-methods, - too-many-return-statements, - too-many-statements, - unused-argument \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 9216134..c23c874 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,26 @@ [tool.black] -line-length = 79 \ No newline at end of file +line-length = 79 + +[tool.pylint] +disable = [ + "invalid-name", + "protected-access", + "broad-except", + "bare-except", + "abstract-method", + "duplicate-code", + "too-few-public-methods", + "too-many-arguments", + "too-many-branches", + "too-many-instance-attributes", + "too-many-lines", + "too-many-locals", + "too-many-positional-arguments", + "too-many-public-methods", + "too-many-return-statements", + "too-many-statements", + "unused-argument" +] + +[tool.pylint.master] +reports = false \ No newline at end of file