Skip to main content

Git hooks manager. Fast, powerful, simple.

Project description

Build Status codecov

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.

📖 Read the introduction post

Sponsored by Evil Martians

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-2.0.15.tar.gz (50.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lefthook-2.0.15-py3-none-any.whl (50.4 MB view details)

Uploaded Python 3

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

Hashes for lefthook-2.0.15.tar.gz
Algorithm Hash digest
SHA256 8a32c9f2d44f0ff0f3e3ab48f9802ca10f1222b491f3f14e03f577ec175b6649
MD5 ef20db27bf2282326bfa77011909f5a6
BLAKE2b-256 7c8fe90724128f481c637b7e9343b6535622cfa136541959a49f8a3de0d0e7a5

See more details on using hashes here.

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

Hashes for lefthook-2.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 54b174520f18a4fa2545ff1e5eae4c4d2515539fb25b8c4fe04b9224a2ff07ee
MD5 193da5ed3308f8ff84bbe357ec372558
BLAKE2b-256 7cd5243d967f541d422a7252f92dbcc201cfd588bd404a66935baacc83be49c5

See more details on using hashes here.

Supported by

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