Skip to content

Commit eb50d2e

Browse files
committed
Config and disable select pylint messages
1 parent 671688b commit eb50d2e

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

poetry.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,23 @@ pylint = "^3.3.1"
3232
[tool.poetry.scripts]
3333
gitlab-watchman = "gitlab_watchman:main"
3434

35+
[tool.pylint.messages_control]
36+
max-line-length = 120
37+
max-attributes = 10
38+
max-args = 10
39+
disable = [
40+
"missing-module-docstring",
41+
"too-few-public-methods",
42+
"arguments-differ",
43+
"logging-fstring-interpolation",
44+
"no-else-return",
45+
"no-else-raise",
46+
"inconsistent-return-statements",
47+
"broad-exception-caught",
48+
"duplicate-code",
49+
]
50+
51+
3552
[build-system]
3653
requires = ["poetry-core"]
3754
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)