diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d06dba0bb5..23b94ebf94c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,16 @@ repos: files: ^mantidimaging/ args: [--ignore-missing-imports] additional_dependencies: [types-docutils, types-PyYAML, types-requests] +- repo: local + hooks: + - id: pyright + name: pyright + description: Checks that all files paas pyright checks + entry: pyright + language: system + types: [python] - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.3.3 hooks: - id: ruff +