16 lines
285 B
YAML
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
|