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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 861363b5b6786cd6a12abde236ef61ec7b949fad4bab3554ed68a6be6a5101d2 |
|
MD5 | 483af388fdf3b13639892b7dee002a65 |
|
BLAKE2b-256 | 4177e3bc84401aefeedd65da73ae3b38643e0d228b7d02ec2ed2029d6e70e0e3 |