theshire/.taskfiles/PreCommit/Tasks.yaml

17 lines
285 B
YAML
Raw Normal View History

2024-01-11 15:03:54 -06:00
---
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