Skip to main content

pushpin


Git hooks for python 📌

Pushpin improves your python commits and more.
You can use it to run toolings like pytest, pylint, isort, black, etc
whenever you commit or push. pushpin supports all Git hooks.
It's basically husky but for modern python toolings

Install

# For poetry users
poetry add -D pushpin

# For traditional pip users
pip install pushpin

Usage

# prepare your repo
pushpin install

# add a hook
pushpin add .pushpin/pre-commit "pytest"

Recommended Hooks

# pylint - strictly manage your code quality
pushpin add .pushpin/pre-commit "pylint --fail-under=8 ."

# isort - sort your import orders
pushpin add .pushpin/pre-commit "isort ."

# black - get some uncompromising styles
pushpin add .pushpin/pre-commit "black ."

Used by

pushpin will be used by these awesome python projects.

  • list yours.

Release files for pushpin 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pushpin 0.5.0
File Size Uploaded
pushpin-0.5.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pushpin 0.5.0
File Interpreter ABI Platform
pushpin-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / pushpin-0.5.0.tar.gz

Download URL pushpin-0.5.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
97aa85f7bd535fff681fe93cae838542f055e9665c5acad61bed91012d873899
BLAKE2b-256 checksum
How to use checksums
30c4f3a4f60667165c7391fb1f1839a264d0db035f2fb23908342822748ceaaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0

Release files / pushpin-0.5.0-py3-none-any.whl

Download URL pushpin-0.5.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
762a4a8e9ca2c68332ac2cfccbb13984bfa5974dbbcf973b8081ddaac1e2f6d7
BLAKE2b-256 checksum
How to use checksums
37a9a014a3d10c0ceb031d39fbd8f5b495dacdcea359447a799ced0dfc4c621d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Darwin/21.5.0

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.9

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page