Allow easier validator repeating

This commit is contained in:
Jake Howard 2017-03-30 08:58:05 +01:00
parent b2835a5196
commit b8137c0505

View File

@ -49,9 +49,12 @@ def validate_bibliography(config):
def validate_config(config):
check_required_keys(config)
test_input(config)
test_output(config)
validate_bibliography(config)
for validator in [
check_required_keys,
test_input,
test_output,
validate_bibliography
]:
validator(config)