Skip to content

Commit

Permalink
Fix [C0103] by allowing short names
Browse files Browse the repository at this point in the history
  • Loading branch information
dochang committed Nov 9, 2022
1 parent f1ef084 commit f0d9178
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ disable = [
"import-error",
]

[tool.pylint."BASIC"]
good-names-rgxs = "[A-Za-z][A-Za-z0-9]?"
# https://pylint.pycqa.org/en/latest/user_guide/configuration/all-options.html#good-names-rgxs
# https://github.com/PyCQA/pylint/pull/3186
# https://github.com/PyCQA/pylint/issues/3086
# https://github.com/PyCQA/pylint/issues/2970
# https://github.com/PyCQA/pylint/issues/2018
# https://stackoverflow.com/a/66784120

[tool.pyright]
reportMissingImports = false
reportMissingModuleSource = false

0 comments on commit f0d9178

Please sign in to comment.