Convert CLI tools into pre-commit hooks using python.
Project description
CliPy Hooks
This project is a library handling generic execution of command line interfaces using python, it is a cross-platform shim between pre-installed system executables and pre-commit. The intended use-case is for creating new pre-commit hooks without fussing over the boilerplate of handling the CLI.
Credit to pocc's awesome pre-commit hooks as he wrote the underlying class as part of his C linters.
Getting Started
Installing
The easiest way to use the project is to install the latest pypi release via pip.
pip install clipy-hooks
License
The source of this repo maintains the Apache 2.0 open-source license of the original code, for details on the current licensing see LICENSE or click the badge above.
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
Built Distribution
Hashes for clipy_hooks-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d254e761b73e7d91dc20daff03c843b227c080878ed184bfb05f3a864b0eb75f |
|
MD5 | 399905520285d03addc7ba3e05ef1322 |
|
BLAKE2b-256 | 725420c5faa5007cc29a9fd2ea9a7e175a2c555524c37ee51463ae5cb335eceb |