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.yml
config 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-1.11.14.tar.gz
(49.5 MB
view details)
Built Distribution
File details
Details for the file lefthook-1.11.14.tar.gz
.
File metadata
- Download URL: lefthook-1.11.14.tar.gz
- Upload date:
- Size: 49.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f41566aef3506214287e1d60c37cc14e1df8bdaa9bc489390b4e0d9a776a9495
|
|
MD5 |
d21a8a23cc8a095901da42c138ed4ed4
|
|
BLAKE2b-256 |
858ed32c7b53a37d565c3301187210e12d657bb33fab709e5d74147f12f5a471
|
File details
Details for the file lefthook-1.11.14-py3-none-any.whl
.
File metadata
- Download URL: lefthook-1.11.14-py3-none-any.whl
- Upload date:
- Size: 49.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
daf02089d0ba368070a132524bf0b2068ba131d2208678eecac719c351b72dac
|
|
MD5 |
99d84881a1aff734f6c9335cfbe31876
|
|
BLAKE2b-256 |
8033733ed0f218b1959e52b9b35617ad7ef6a082558e938d9403eb0197c20e6e
|