Skip to content

Commit

Permalink
Update pre-commit to add pyright check
Browse files Browse the repository at this point in the history
  • Loading branch information
JackEAllen committed Nov 1, 2024
1 parent 1960d20 commit d17ac55
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d17ac55

Please sign in to comment.