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.1.zip (10.3 kB view details)

Uploaded Source

File details

Details for the file huspy-0.1.1.zip.

File metadata

  • Download URL: huspy-0.1.1.zip
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for huspy-0.1.1.zip
Algorithm Hash digest
SHA256 97a80599d9694a498615f106b962e1f3deae06c593fc7d5b157919e53ae4271b
MD5 d324ffba49b0f1d99281777110b11a7a
BLAKE2b-256 3e1a7fa552eec76c3ac6c79d2a5994f4d7df341f6a1a8df0de5cbcfcd7646dc4

See more details on using hashes here.

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