23 lines
320 B
YAML
23 lines
320 B
YAML
|
---
|
||
|
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
|