Verify as pre-commit hook¶
To verify that pip-compile-multi
has been run after changing .in
files as a PreCommit hook, just add the following to your local repo’s .pre-commit-config.yaml
file:
- repo: https://github.com/peterdemin/pip-compile-multi
rev: v2.6.2
hooks:
- id: pip-compile-multi-verify