https://github.com/bilbottom/bills-hooks
Pre-commit hooks for my own projects.
https://github.com/bilbottom/bills-hooks
pre-commit python
Last synced: over 1 year ago
JSON representation
Pre-commit hooks for my own projects.
- Host: GitHub
- URL: https://github.com/bilbottom/bills-hooks
- Owner: Bilbottom
- Created: 2024-03-05T21:12:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-08T21:01:11.000Z (over 1 year ago)
- Last Synced: 2025-01-08T22:07:47.513Z (over 1 year ago)
- Topics: pre-commit, python
- Language: Python
- Homepage:
- Size: 79.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[](https://www.python.org/downloads/release/python-3110/)
[](https://python-poetry.org/)
[](https://github.com/Bilbottom/bills-hooks/actions/workflows/tests.yaml)
[](https://github.com/dbrgn/coverage-badge)

[](https://github.com/prettier/prettier)
[](https://github.com/astral-sh/ruff)
[](https://results.pre-commit.ci/latest/github/Bilbottom/bills-hooks/main)
---
# Bill's Hooks
Pre-commit hooks for my own projects.
## Usage
Add the following hook to your `.pre-commit-config.yaml`:
```yaml
- repo: https://github.com/Bilbottom/bills-hooks
rev: v0.0.1
hooks:
- id: gitmoji-conventional-commit
```
## Available Hooks
### `gitmoji-conventional-commit` ([source](bills_hooks/gitmoji_conventional_commit/hook.py))
> [!WARNING]
>
> This is still in development and does not validate the commit message against the conventional commit framework yet.
This hook checks that your commit messages are (optionally) prefixed with a [gitmoji](https://gitmoji.dev/) and follow the [conventional commit](https://www.conventionalcommits.org/en/v1.0.0/) format.
Inspired by:
- https://github.com/compilerla/conventional-pre-commit