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): def validate_config(config):
check_required_keys(config) for validator in [
test_input(config) check_required_keys,
test_output(config) test_input,
validate_bibliography(config) test_output,
validate_bibliography
]:
validator(config)