A collection of cheesy pre-commit hooks
Add this to your .pre-commit-config.yaml
repos:
- repo: https://github.com/sco1/brie-commit
rev: v1.1.0
hooks:
- id: brie-commit
This hook doesn't do anything except add cheese to your pre-commit invocation.
$ pre-commit run
🧀🧀🧀...................................................................Passed
This hook replaces all instances of good
with gouda
in your text files.
$ echo "This is looking pretty good." > ./gouda_vibes.txt
$ pre-commit run -a
🧀🧀🧀...................................................................Passed
good2gouda...............................................................Failed
- hook id: up-to-no-gouda
- files were modified by this hook
$ cat ./gouda_vibes.txt
This is looking pretty gouda.