mochi/.taskfiles/pre-commit/Taskfile.yaml

24 lines
385 B
YAML
Raw Permalink Normal View History

2024-06-20 08:59:56 -05:00
---
# 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