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:
Justin Chu 2022-11-14 10:00:25 -08:00 committed by GitHub
parent f0ff2c5de9
commit 197191e58c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",