mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
add support for post-commit
This commit is contained in:
parent
3b3b33ea29
commit
26adf1d560
7 changed files with 42 additions and 6 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue