mochi/.taskfiles/pre-commit/Taskfile.yaml
2024-06-20 08:59:56 -05:00

23 lines
385 B
YAML

---
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
vars:
host: $HOSTNAME
tasks:
init:
desc: Initialize pre-commit hooks
cmds:
- pre-commit install --install-hooks
update:
desc: Update pre-commit dependencies
cmds:
- pre-commit autoupdate
run:
desc: Run pre-commit
cmds:
- pre-commit run --all-files