mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14: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
|
|
@ -25,6 +25,13 @@ MANIFEST_JSON_SCHEMA = {
|
|||
'language_version': {'type': 'string', 'default': 'default'},
|
||||
'files': {'type': 'string'},
|
||||
'expected_return_value': {'type': 'number', 'default': 0},
|
||||
'stages': {
|
||||
'type': 'array',
|
||||
'default': [],
|
||||
'items': {
|
||||
'type': 'string',
|
||||
},
|
||||
},
|
||||
'args': {
|
||||
'type': 'array',
|
||||
'default': [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue