A library for preserving and restoring commit messages
Project description
precommit-message-perservation
This is a simple library that makes it easier to code hooks for pre-commit that validate commit messages that preserve the commit message on failure. In other words, if the user writes a long commit message and your pre-commit hook tells them the message is bad, they won't have their message entirely thrown away.
Hacking
You'll want to install the developer dependencies:
pip install -e .[develop]
This will include nose2
, which is the test runner of choice. After you make modifications you can run tests with
nose2
When you're satisfied you'll want to update the version number and do build-and-upload:
python setup.py sdist
twine upload dist/* --verbose
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for precommit_message_preservation-0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4d4d7ada6f16fe1d9daf47b320e6c5b117eaa2e4658f11ae77aa7cc9fefc234 |
|
MD5 | 88f4efbc5182828b547e4007ab2f622d |
|
BLAKE2b-256 | 71164c051eaa76eb1780d8330b4bdf0254a272fc501f16aab7bb6fd757e89025 |