mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 00:54:42 +04:00
Filtering of hooks for commit or push stages
This commit is contained in:
parent
e3a22061c5
commit
dd73ffd02f
8 changed files with 89 additions and 3 deletions
|
|
@ -29,6 +29,7 @@ def test_manifest_contents(manifest):
|
|||
'language': 'script',
|
||||
'language_version': 'default',
|
||||
'name': 'Bash hook',
|
||||
'stages': [],
|
||||
}]
|
||||
|
||||
|
||||
|
|
@ -44,4 +45,5 @@ def test_hooks(manifest):
|
|||
'language': 'script',
|
||||
'language_version': 'default',
|
||||
'name': 'Bash hook',
|
||||
'stages': [],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue