Git hooks manager. Fast, powerful, simple.
Project description
Lefthook
The fastest polyglot Git hooks manager out there
A Git hooks manager for Node.js, Ruby and many other types of projects.
- Fast. It is written in Go. Can run commands in parallel.
- Powerful. It allows to control execution and files you pass to your commands.
- Simple. It is single dependency-free binary which can work in any environment.
Install
pip install lefthook
Usage
Configure your hooks, install them once and forget about it: rely on the magic underneath.
TL;DR
# Configure your hooks
vim lefthook.yml
# Install them to the git project
lefthook install
# Enjoy your work with git
git add -A && git commit -m '...'
More details
- Configuration for
lefthook.ymlconfig options. - Usage for lefthook CLI options, supported ENVs, and usage tips.
- Discussions for questions, ideas, suggestions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lefthook-2.0.15.tar.gz
(50.2 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lefthook-2.0.15-py3-none-any.whl
(50.4 MB
view details)
File details
Details for the file lefthook-2.0.15.tar.gz.
File metadata
- Download URL: lefthook-2.0.15.tar.gz
- Upload date:
- Size: 50.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a32c9f2d44f0ff0f3e3ab48f9802ca10f1222b491f3f14e03f577ec175b6649
|
|
| MD5 |
ef20db27bf2282326bfa77011909f5a6
|
|
| BLAKE2b-256 |
7c8fe90724128f481c637b7e9343b6535622cfa136541959a49f8a3de0d0e7a5
|
File details
Details for the file lefthook-2.0.15-py3-none-any.whl.
File metadata
- Download URL: lefthook-2.0.15-py3-none-any.whl
- Upload date:
- Size: 50.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54b174520f18a4fa2545ff1e5eae4c4d2515539fb25b8c4fe04b9224a2ff07ee
|
|
| MD5 |
193da5ed3308f8ff84bbe357ec372558
|
|
| BLAKE2b-256 |
7cd5243d967f541d422a7252f92dbcc201cfd588bd404a66935baacc83be49c5
|