mirror of
https://github.com/Dasemu/faust-vn.git
synced 2026-11-26 15:26:20 +00:00
26 lines
499 B
JSON
26 lines
499 B
JSON
{
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run --quiet ruff format --quiet src tests 2>/dev/null || true"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "uv run --quiet ruff check --quiet . && uv run --quiet pytest -q -x 2>&1 | tail -3"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|