Add pyright to the "lint" session

This commit is contained in:
Alexander Hess 2026-12-01 15:00:26 +01:00
commit 96b5a07f20
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

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