Skip to main content

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 bdist_wheel
twine upload dist/* --verbose

Release files for precommit-diffcheck 1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for precommit-diffcheck 1.12
File Size Uploaded
precommit_diffcheck-1.12.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for precommit-diffcheck 1.12
File Interpreter ABI Platform
precommit_diffcheck-1.12-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size:15.4 kB

Release files / precommit_diffcheck-1.12.tar.gz

Download URL precommit_diffcheck-1.12.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c3355a1d5344628c8cb52827113a0649e04b140cccfbc9a44c21f4491025c1d1
BLAKE2b-256 checksum
How to use checksums
5e7337dd2f5da117d47a3cc61d00688bbd62b18d254d5d7a2afcba679faccb65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / precommit_diffcheck-1.12-py2.py3-none-any.whl

Download URL precommit_diffcheck-1.12-py2.py3-none-any.whl
Size 7.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
41c53dd11adef619d59bdd0214fdf36f9b8a19e5a7ea09ed2b65b595280698ad
BLAKE2b-256 checksum
How to use checksums
aac4233c6a800df3a1f8826dbade37d9d7555cdeb03f5bbf2fbcc37ea89c792d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

This release

1.12 This release

2 release files

1.11

2 release files

1.10

2 release files

1.9

2 release files

1.8

2 release files

1.7

2 release files

1.5

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

0.3

2 release files

0.2

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page