Skip to content

Commit 69bb6a7

Browse files
committed
Add type-check to pre-commit hooks.
1 parent daa2fe8 commit 69bb6a7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,10 @@ repos:
6464
- id: check-hooks-apply
6565
- id: check-useless-excludes
6666
# - id: identity # Prints all files passed to pre-commits. Debugging.
67+
- repo: local
68+
hooks:
69+
- id: type-checking
70+
name: type-checking
71+
entry: uv run --group typing mypy
72+
language: system
73+
pass_filenames: false

0 commit comments

Comments
 (0)