Library for managing and writing git hooks in Python using `pyproject.toml` for its settings ✨
Installation
You can add commitguard in a few easy steps. First of all, install the dependency:
$ pip install commitguard
---> 100%
Successfully installed commitguard-0.1.0
or Using poetry
poetry add --dev commitguard
poetry run commitguard activate --mode poetry
The output of commitguard activate should be similar to:
✓ commitguard pre-commit hook installed at /commitguard/.git/hooks/pre-commit using poetry mode.
CommitGuard offers an adaptable plugin architecture where each plugin offers unique features that might require the installation of supplementary dependencies.
To manage these dependencies, CommitGuard presently supports three modes:
pythonpathfor dependency management via [pip]poetryfor dependency management via [poetry] (recommended)pipenvfor dependency management via [pipenv]
These modes dictate how CommitGuard, the plugins, and their dependencies are loaded during git hook execution.
License
This project is licensed under the terms of the MIT license.
Metadata
Release files for commitguard 2.2.0
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 |
|---|---|---|---|---|
| commitguard-2.2.0.tar.gz | 49.0 kB | Without provenance | Details for commitguard-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| commitguard-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for commitguard-2.2.0-py3-none-any.whl |
Total release size: 76.3 kB
Release files / commitguard-2.2.0.tar.gz
| Download URL | commitguard-2.2.0.tar.gz |
|---|---|
| Size | 49.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0050ba4d9341be3e5f073df2bd27ad4367325af29b49e01f2c76bf3bcbc5ae8a
|
|
BLAKE2b-256 checksum How to use checksums |
9adf5354733bc42ad61048c785038dd9419ed566a1c023f2909cd58111cf50ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.11 Linux/5.15.0-1037-azure
|
Release files / commitguard-2.2.0-py3-none-any.whl
| Download URL | commitguard-2.2.0-py3-none-any.whl |
|---|---|
| Size | 27.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
304d9353e443bd0bc016463034ab488aca93dde09da53fef41f4d654e552abaf
|
|
BLAKE2b-256 checksum How to use checksums |
044d2467e7d3c00b05f5d314afdd1891c3743e98f106c3894e4734b4dc4cbebb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.11 Linux/5.15.0-1037-azure
|
Security for commitguard 2.2.0
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.