Skip to content

Commit

Permalink
Add mypy pre-commit hook
Browse files Browse the repository at this point in the history
Follows recommendations at python/mypy#13916
  • Loading branch information
craigds committed Nov 9, 2024
1 parent c7f913e commit c21cb2a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ repos:
- id: cmake-lint
args:
- --suppress-decorations
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
hooks:
- id: mypy
name: Check types with mypy
language: system
entry: build/venv/bin/mypy
pass_filenames: false

0 comments on commit c21cb2a

Please sign in to comment.