mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-03 23:49:44 +00:00
Update pylint config to include valid short names (#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
This commit is contained in:
parent
f0ff2c5de9
commit
197191e58c
1 changed files with 8 additions and 0 deletions
|
|
@ -16,6 +16,12 @@ extend_skip_glob = [
|
|||
[tool.pydocstyle]
|
||||
convention = "google"
|
||||
|
||||
[tool.pylint.BASIC]
|
||||
good-names = [
|
||||
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n",
|
||||
"p", "q", "r", "s", "t", "u", "v", "w", "ex", "Run", "_", "x", "y", "z"
|
||||
]
|
||||
|
||||
[tool.pylint.messages_control]
|
||||
disable = [
|
||||
"format",
|
||||
|
|
@ -23,6 +29,8 @@ disable = [
|
|||
"import-error",
|
||||
"no-name-in-module",
|
||||
"no-member",
|
||||
"too-many-arguments",
|
||||
"too-many-locals",
|
||||
"too-few-public-methods",
|
||||
"missing-docstring",
|
||||
"fixme",
|
||||
|
|
|
|||
Loading…
Reference in a new issue