commit-linter
An easy to use tool to that lints your commit messages according to commit conventions .
commit-linter is a Python tool that helps you standardize your commit messages to a known commit conventions. the tool also add emojies to your commits.
Installation
Use the package manager pip to install commit-linter.
pip install commit-linter
Usage
in your git repository just execute
commit-linter
or
commit-linter install
if you want to remove the hook, just execute
commit-linter remove
How it works
commit-linter uses git-hooks which are scripts that exists in each repository.
Take a look at any repo you have, you will have .git directory, and inside you
will find hooks directory, commit-linter just puts a simple script named commit-msg
inside that directory and makes it executable so each time you right a commit message
it will get linted as per the conventions, you can look at script in your repository
inside .git/hooks path.
Read more about Git Hooks.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This Tool is Under MIT License.
Metadata
Release files for commit-linter 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| commit-linter-1.0.3.tar.gz | 5.1 kB | Without provenance | Details for commit-linter-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| commit_linter-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for commit_linter-1.0.3-py3-none-any.whl |
Total release size: 11.9 kB
Release files / commit-linter-1.0.3.tar.gz
| Download URL | commit-linter-1.0.3.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e380cac6d9010dab4559380e8d153b71743526bf042d3828dacd6efe544d8aba
|
|
BLAKE2b-256 checksum How to use checksums |
d44e8260861fd063901bfde329f8fb46c22be1308d3489df9694f968c34196ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / commit_linter-1.0.3-py3-none-any.whl
| Download URL | commit_linter-1.0.3-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
404fc2adb7ad49fddc27b1fa4424c17bf41556dbaed8dc4c274ca1e104825fbb
|
|
BLAKE2b-256 checksum How to use checksums |
5ae0fc0eab6d74cda617a52e8c8947a9752c38734ad84837f015d8c3748eb484
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for commit-linter 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.