Skip to main content

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


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)

Uploaded Source

Supported by

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