mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Add ability to skip hooks by branches
This commit is contained in:
parent
8656797c78
commit
ff5fd29479
4 changed files with 30 additions and 1 deletions
|
|
@ -475,6 +475,8 @@ def test_manifest_hooks(tempdir_factory, store):
|
|||
entry='bin/hook.sh',
|
||||
exclude='^$',
|
||||
exclude_types=[],
|
||||
branches='',
|
||||
exclude_branches='^$',
|
||||
files='',
|
||||
id='bash_hook',
|
||||
language='script',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue