Add a hook option that allows stdout to be printed when exit code is 0 (#695)

This commit is contained in:
Bastien Gérard
2018-01-31 23:05:35 +01:00
parent 7f0b427b74
commit b319d6f80c
4 changed files with 23 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ MANIFEST_HOOK_DICT = schema.Map(
schema.Optional('log_file', schema.check_string, ''),
schema.Optional('minimum_pre_commit_version', schema.check_string, '0'),
schema.Optional('stages', schema.check_array(schema.check_string), []),
schema.Optional('verbose', schema.check_bool, False),
)
MANIFEST_SCHEMA = schema.Array(MANIFEST_HOOK_DICT)