2026-06-18 13:55:53 +01:00
|
|
|
# The actual checks live in .taskfiles/pre-commit.yml (with helper scripts under
|
|
|
|
|
# scripts/pre-commit/) and are driven by Task. This hook just delegates to `task
|
|
|
|
|
# pre-commit` so the git pre-commit hook, CI and a manual `task pre-commit` all
|
|
|
|
|
# run the exact same thing. Requires `task` and `uv` on PATH. To auto-fix instead
|
|
|
|
|
# of only checking, run `task pre-commit:fix`.
|
2024-03-13 23:18:15 +01:00
|
|
|
repos:
|
2026-06-18 13:55:53 +01:00
|
|
|
- repo: local
|
2024-03-13 23:18:15 +01:00
|
|
|
hooks:
|
2026-06-18 13:55:53 +01:00
|
|
|
- id: task-pre-commit
|
|
|
|
|
name: task pre-commit
|
|
|
|
|
entry: task pre-commit
|
|
|
|
|
language: system
|
|
|
|
|
pass_filenames: false
|
|
|
|
|
always_run: true
|