Default arguments from hooks.yaml

This commit is contained in:
Anthony Sottile
2015-01-12 09:35:05 -08:00
parent 78c682a1d1
commit 26502dfd0b
5 changed files with 13 additions and 2 deletions

View File

@@ -30,7 +30,6 @@ CONFIG_JSON_SCHEMA = {
'language_version': {'type': 'string'},
'args': {
'type': 'array',
'default': [],
'items': {'type': 'string'},
},
},

View File

@@ -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'],
},