Pre-commit hook template

This repo is a template for a pre-commit hook.

Try it out by running:

pre-commit try-repo https://github.com/stefsmeets/pre-commit-hook-template/ --all-files

Installing it as a pre-commit hook

See pre-commit for instructions.

Sample .pre-commit-config.yaml:

-   repo: https://github.com/stefsmeets/pre-commit-hook-template/
    rev: v1.0.1
    hooks:
    -   id: yourhook

GitHub

View Github