Skip to content

Commit b20647c

Browse files
committed
chore(hooks): add mypy to pre-push so type errors are caught locally
Previously mypy only ran in CI; type regressions slipped through pre-push. Adding it here mirrors the CI lint job and catches failures before they land.
1 parent 945b290 commit b20647c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎lefthook.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ pre-commit:
66

77
pre-push:
88
commands:
9+
typecheck:
10+
run: uv run mypy src
911
test:
1012
run: uv run pytest -q --tb=short

0 commit comments

Comments
 (0)