refactor: use make test in pre-commit hook

This commit is contained in:
2026-05-17 11:40:59 +10:00
parent 451254447f
commit fbb3471a42
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ repos:
hooks:
- id: pytest
name: Run unit tests
entry: bash -c 'uv run --group dev pytest tests/ -q; rc=$?; [ $rc -eq 5 ] && exit 0 || exit $rc'
entry: make test
language: system
types: [python]
pass_filenames: false