Skip to content

Commit 197191e

Browse files
authored
Update pylint config to include valid short names (microsoft#13631)
### Description Update pylint config to include valid short names Also disabled `too-many-arguments` and `too-many-locals` ### Motivation and Context Refine config to reduce lint noise
1 parent f0ff2c5 commit 197191e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pyproject.toml

+8
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,21 @@ extend_skip_glob = [
1616
[tool.pydocstyle]
1717
convention = "google"
1818

19+
[tool.pylint.BASIC]
20+
good-names = [
21+
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n",
22+
"p", "q", "r", "s", "t", "u", "v", "w", "ex", "Run", "_", "x", "y", "z"
23+
]
24+
1925
[tool.pylint.messages_control]
2026
disable = [
2127
"format",
2228
"line-too-long",
2329
"import-error",
2430
"no-name-in-module",
2531
"no-member",
32+
"too-many-arguments",
33+
"too-many-locals",
2634
"too-few-public-methods",
2735
"missing-docstring",
2836
"fixme",

0 commit comments

Comments
 (0)