add support for post-commit

This commit is contained in:
ModischFabrications 2020-04-25 01:21:12 +02:00 committed by Anthony Sottile
parent 3b3b33ea29
commit 26adf1d560
7 changed files with 42 additions and 6 deletions

View file

@ -17,8 +17,8 @@ VERSION = importlib_metadata.version('pre_commit')
# `manual` is not invoked by any installed git hook. See #719
STAGES = (
'commit', 'merge-commit', 'prepare-commit-msg', 'commit-msg', 'manual',
'post-checkout', 'push',
'commit', 'merge-commit', 'prepare-commit-msg', 'commit-msg',
'post-commit', 'manual', 'post-checkout', 'push',
)
DEFAULT = 'default'