/CliPy-Hooks

Python shim for using CLI tools with pre-commit.

Primary LanguagePythonApache License 2.0Apache-2.0

NullTek Documentation CliPy Hooks

PyPI - Python Version PyPI Format Tests License

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.