forked from genewildish/Mainline
fix: use native hk staging in pre-commit hook
fix: add explicit check command to pre-push hook
This commit is contained in:
2
hk.pkl
2
hk.pkl
@@ -11,6 +11,7 @@ hooks {
|
||||
}
|
||||
["ruff"] = (Builtins.ruff) {
|
||||
prefix = "uv run"
|
||||
check = "ruff check engine/ tests/"
|
||||
fix = "ruff check --fix --unsafe-fixes engine/ tests/"
|
||||
}
|
||||
}
|
||||
@@ -19,6 +20,7 @@ hooks {
|
||||
steps {
|
||||
["ruff"] = (Builtins.ruff) {
|
||||
prefix = "uv run"
|
||||
check = "ruff check engine/ tests/"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user