diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 38afa67..c817f29 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,17 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.13 + rev: v0.12.1 hooks: - id: ruff-check args: [--fix] - id: ruff-format + - repo: https://github.com/doublify/pre-commit-clang-format rev: 62302476d0da01515660132d76902359bed0f782 hooks: - id: clang-format + +- repo: https://github.com/RobertCraigie/pyright-python + rev: v1.1.402 + hooks: + - id: pyright diff --git a/pyproject.toml b/pyproject.toml index 3142aa3..56a5ae6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,6 +73,7 @@ optional = true [tool.pyright] pythonVersion = "3.9" +typeCheckingMode = "standard" venvPath = "." venv = ".venv"