From 180fe4807b78cf48239096e9a8d6b770e1e51ecf Mon Sep 17 00:00:00 2001 From: Mihaela Duta Date: Thu, 14 Nov 2024 13:22:54 +0000 Subject: [PATCH] Define pylint configuration in the pyproject.toml file. --- .pylintrc | 12 ------------ pyproject.toml | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 13 deletions(-) delete mode 100644 .pylintrc diff --git a/.pylintrc b/.pylintrc deleted file mode 100644 index 49067c8..0000000 --- a/.pylintrc +++ /dev/null @@ -1,12 +0,0 @@ -[MASTER] -ignore=docs/* - -[MESSAGES CONTROL] -notes=TODO -disable= - fixme, - import-error, - duplicate-code, - too-many-locals, - too-many-arguments, - too-many-positional-arguments \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 1781dc4..4e3ffa7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,4 +19,18 @@ classifiers = [ [project.urls] "Homepage" = "https://github.com/lotzma/L2Gv2" -"Bug Tracker" = "https://github.com/lotzma/L2Gv2/issues" \ No newline at end of file +"Bug Tracker" = "https://github.com/lotzma/L2Gv2/issues" + +[tool.pylint.'MASTER'] +ignore = ["docs/*"] + +[tool.pylint.'MESSAGES CONTROL'] +notes = "TODO" +disable = [ + "fixme", + "import-error", + "duplicate-code", + "too-many-locals", + "too-many-arguments", + "too-many-positional-arguments" +] \ No newline at end of file