fix: use native hk staging in pre-commit hook

fix: add explicit check command to pre-push hook
This commit is contained in:
2026-03-15 15:04:54 -07:00
committed by Gene Johnson
parent e09bddb724
commit 3ad280a65b

2
hk.pkl
View File

@@ -11,6 +11,7 @@ hooks {
} }
["ruff"] = (Builtins.ruff) { ["ruff"] = (Builtins.ruff) {
prefix = "uv run" prefix = "uv run"
check = "ruff check engine/ tests/"
fix = "ruff check --fix --unsafe-fixes engine/ tests/" fix = "ruff check --fix --unsafe-fixes engine/ tests/"
} }
} }
@@ -19,6 +20,7 @@ hooks {
steps { steps {
["ruff"] = (Builtins.ruff) { ["ruff"] = (Builtins.ruff) {
prefix = "uv run" prefix = "uv run"
check = "ruff check engine/ tests/"
} }
} }
} }