diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d74544a..482936a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,11 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - # Ruff version. rev: v0.1.9 hooks: - # Run the linter. - id: ruff args: ["--fix"] - # Run the formatter. - id: ruff-format + - repo: https://github.com/RobertCraigie/pyright-python + rev: v1.1.350 + hooks: + - id: pyright diff --git a/pyproject.toml b/pyproject.toml index 474cd9e..7502afd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,8 @@ pyright = "^1.1.350" [tool.pyright] typeCheckingMode = "standard" +venvPath = "." +venv = ".venv" [tool.ruff] exclude = [