diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 62d2243..3942f1b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,3 +13,7 @@ repos: hooks: - id: ruff - id: ruff-format + - repo: https://github.com/RobertCraigie/pyright-python + rev: v1.1.389 + hooks: + - id: pyright diff --git a/pyproject.toml b/pyproject.toml index 07dc7bb..a21a98f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,3 +24,7 @@ dev-dependencies = [ "pre-commit>=4.0.1", "ruff>=0.7.1", ] + +[tool.pyright] +venvPath = "." +venv = ".venv"