mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 04:50:20 -06:00
Default arguments from hooks.yaml
This commit is contained in:
@@ -30,7 +30,6 @@ CONFIG_JSON_SCHEMA = {
|
||||
'language_version': {'type': 'string'},
|
||||
'args': {
|
||||
'type': 'array',
|
||||
'default': [],
|
||||
'items': {'type': 'string'},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -24,6 +24,13 @@ MANIFEST_JSON_SCHEMA = {
|
||||
'language_version': {'type': 'string', 'default': 'default'},
|
||||
'files': {'type': 'string'},
|
||||
'expected_return_value': {'type': 'number', 'default': 0},
|
||||
'args': {
|
||||
'type': 'array',
|
||||
'default': [],
|
||||
'items': {
|
||||
'type': 'string',
|
||||
},
|
||||
},
|
||||
},
|
||||
'required': ['id', 'name', 'entry', 'language', 'files'],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user