A git hooks for Python.
Project description
huspy
Git hooks for python.
Huspy is inspired by Husky.
The code is transfered from Husky's typscript to python.
Usage
pip install huspy
# In a git repository, this command will generate `./.huspy` directory, which is the git hooks directory.
huspy install
# This command will add a pre-commit hook.
huspy set ./huspy/pre-commit python test.py
# This command will uninstall the git hooks.
huspy uninstall
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
huspy-0.1.0.tar.gz
(7.1 kB
view hashes)