Skip to content

Commit 499d0f6

Browse files
authored
Configure Pylint settings in pyproject.toml
Added Pylint configuration to control message types and formatting.
1 parent 592d208 commit 499d0f6

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,31 @@ description = "DevOps Automation Scripts for all linux system"
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = []
8+
9+
[tool.pylint.messages_control]
10+
disable = [
11+
"missing-module-docstring",
12+
"missing-class-docstring",
13+
"missing-function-docstring",
14+
"too-few-public-methods",
15+
"invalid-name",
16+
"line-too-long",
17+
"too-many-arguments",
18+
"too-many-locals",
19+
"too-many-branches",
20+
"too-many-statements",
21+
"broad-except",
22+
"redefined-outer-name",
23+
"import-error"
24+
]
25+
26+
[tool.pylint.format]
27+
max-line-length = 120
28+
29+
[tool.pylint.basic]
30+
good-names = ["i", "j", "k", "ex", "Run", "_", "f", "e", "fp"]
31+
32+
[tool.pylint.design]
33+
max-args = 10
34+
max-locals = 20
35+
max-branches = 15

0 commit comments

Comments
 (0)