Add pyright to the "lint" session
This commit is contained in:
parent
66265c8808
commit
96b5a07f20
1 changed files with 53 additions and 4 deletions
|
|
@ -123,6 +123,7 @@ dev = [
|
|||
"pandas-vet (>=2023.8.2)",
|
||||
"pep8-naming (>=0.15.1,<0.16.0)",
|
||||
"pydoclint[flake8] (>=0.12.0,<0.13.0)",
|
||||
"pyright[nodejs] (>=1.1.414,<2.0.0)",
|
||||
"ruff (>=0.17.6,<0.18.0)",
|
||||
"tryceratops (>=2.4.1,<3.0.0)",
|
||||
]
|
||||
|
|
@ -525,6 +526,14 @@ ignore_missing_imports = true
|
|||
|
||||
|
||||
|
||||
[tool.pyright]
|
||||
# Source: https://microsoft.github.io/pyright/#/configuration
|
||||
|
||||
# Treat libraries without type annotations as `Any`, like `mypy` does
|
||||
useLibraryCodeForTypes = false
|
||||
|
||||
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
# Source: https://docs.pytest.org/en/stable/reference/reference.html#ini-options-ref
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue