Skip to content

Repository files navigation

Commit Message Guard

A tiny Python command-line tool for checking conventional commit messages before they reach a shared branch.

Install

python -m pip install .

Use

commit-message-guard --message "feat(cli): add status command"
commit-message-guard --file .git/COMMIT_EDITMSG

The validator checks message shape, allowed types, description casing, and a 72-character first-line limit. It is intentionally small enough to use in local hooks or CI without another dependency.

Development

python -m unittest discover -s tests -v

Support

If this project helps you, you can support its continued development.

  • USDT — BEP20 / BNB Smart Chain: 0x9ee9a9ef2b9679fa99b3b36313bc581a66b05cfb
  • Bitcoin — BTC mainnet: bc1qsg09m3yj4d8d026ayfhhazu823h8vntu8wph95

Please send funds only on the stated network. Never send a seed phrase or private key.

About

A tiny, dependency-free validator for conventional commit messages.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages