theshire/.taskfiles/PreCommit/Tasks.yaml
2024-01-11 15:03:54 -06:00

16 lines
285 B
YAML

---
version: "3"
tasks:
init:
desc: Initialize pre-commit hooks
cmds:
- pre-commit install --install-hooks
run:
desc: Run pre-commit
cmds:
- pre-commit run --all-files
update:
desc: Update pre-commit hooks
cmds:
- pre-commit autoupdate