build: add pyright pre-commit check
This commit is contained in:
parent
b5ab054d74
commit
351e73224e
2 changed files with 8 additions and 0 deletions
|
@ -13,3 +13,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
|
- repo: https://github.com/RobertCraigie/pyright-python
|
||||||
|
rev: v1.1.389
|
||||||
|
hooks:
|
||||||
|
- id: pyright
|
||||||
|
|
|
@ -24,3 +24,7 @@ dev-dependencies = [
|
||||||
"pre-commit>=4.0.1",
|
"pre-commit>=4.0.1",
|
||||||
"ruff>=0.7.1",
|
"ruff>=0.7.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.pyright]
|
||||||
|
venvPath = "."
|
||||||
|
venv = ".venv"
|
||||||
|
|
Loading…
Reference in a new issue