Skip to main content

simple git hooks scripts for a better git experience that enforces you to use the known commit messages conventions

Project description

pypi python license last-commit downloads PyPI - Wheel PyPI - Implementation PyPI - Format Conventional Commits

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.

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

commit-linter-1.0.3.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

commit_linter-1.0.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file commit-linter-1.0.3.tar.gz.

File metadata

  • Download URL: commit-linter-1.0.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for commit-linter-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e380cac6d9010dab4559380e8d153b71743526bf042d3828dacd6efe544d8aba
MD5 fa4eb2d65510cc12b11b4041d998692e
BLAKE2b-256 d44e8260861fd063901bfde329f8fb46c22be1308d3489df9694f968c34196ad

See more details on using hashes here.

File details

Details for the file commit_linter-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for commit_linter-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 404fc2adb7ad49fddc27b1fa4424c17bf41556dbaed8dc4c274ca1e104825fbb
MD5 c2bf6c7cec0281fd1550d873c32e075a
BLAKE2b-256 5ae0fc0eab6d74cda617a52e8c8947a9752c38734ad84837f015d8c3748eb484

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page