From 6edcad3c56cfd4f2b7dd00aab83ff47eec99198b Mon Sep 17 00:00:00 2001 From: ARYAN-NIKNEZHAD Date: Tue, 20 Aug 2024 16:01:42 +0430 Subject: [PATCH] :wrench: chore: Move Pylint config pyproject.toml --- .pylintrc | 13 ------------- pyproject.toml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 13 deletions(-) delete mode 100644 .pylintrc diff --git a/.pylintrc b/.pylintrc deleted file mode 100644 index e0fbb70..0000000 --- a/.pylintrc +++ /dev/null @@ -1,13 +0,0 @@ -[MASTER] -ignore=tests,docs,build,stubs -persistent=yes -ignore-patterns=^tests/.*, ^docs/.*, ^build/.*, ^stubs/.* - -[MESSAGES CONTROL] -disable=C0114,C0115,C0116,R0903 - -[FORMAT] -max-line-length=88 - -[DESIGN] -max-args=5 diff --git a/pyproject.toml b/pyproject.toml index 700f32d..c8aaf61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,6 +77,20 @@ exclude = ''' ^stubs/ ''' +[tool.pylint.master] +ignore = ["tests", "docs", "build", "stubs"] +persistent = true +ignore-patterns = ["^tests/.*", "^docs/.*", "^build/.*", "^stubs/.*"] + +[tool.pylint."messages control"] +disable = ["C0114", "C0115", "C0116", "R0903"] + +[tool.pylint.format] +max-line-length = 88 + +[tool.pylint.design] +max-args = 5 + [tool.commitizen] name = "cz_conventional_commits" version = "0.1.0"