https://github.com/sco1/brie-commit
A collection of cheesy pre-commit hooks
https://github.com/sco1/brie-commit
cheese pre-commit pre-commit-hook
Last synced: 8 months ago
JSON representation
A collection of cheesy pre-commit hooks
- Host: GitHub
- URL: https://github.com/sco1/brie-commit
- Owner: sco1
- License: mit
- Created: 2023-01-23T15:40:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T00:55:26.000Z (9 months ago)
- Last Synced: 2025-05-07T22:47:51.750Z (8 months ago)
- Topics: cheese, pre-commit, pre-commit-hook
- Language: Python
- Homepage:
- Size: 113 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://pypi.org/project/brie-commit/)
[](https://pypi.org/project/brie-commit/)
[](https://github.com/sco1/brie-commit/blob/main/LICENSE)
[](https://results.pre-commit.ci/latest/github/sco1/brie-commit/main)
# brie-commit
A collection of cheesy [pre-commit](https://pre-commit.com/) hooks
## Using brie-commit with pre-commit
Add this to your `.pre-commit-config.yaml`
```yaml
repos:
- repo: https://github.com/sco1/brie-commit
rev: v1.1.0
hooks:
- id: brie-commit
```
## Hooks
### `brie-commit`
This hook doesn't do anything except add cheese to your pre-commit invocation.
```bash
$ pre-commit run
🧀🧀🧀...................................................................Passed
```
### `up-to-no-gouda`
This hook replaces all instances of `good` with `gouda` in your text files.
```bash
$ 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.
```