Update .pre-commit-config.yaml

This commit is contained in:
Anthony Sottile 2014-08-22 12:33:54 -07:00
parent 3cac9489b3
commit 22ee10d4ad
3 changed files with 6 additions and 2 deletions

View file

@ -58,7 +58,7 @@ def make_config_from_repo(repo_path, sha=None, hooks=None, check=True):
def write_config(directory, config):
assert type(config) is OrderedDict
with io.open(os.path.join(directory, C.CONFIG_FILE), 'w') as config_file:
config_file.write(ordered_dump([config], **C.YAML_DUMP_KWARGS))
config_file.write(ordered_dump([config], **C.YAML_DUMP_KWARGS))
def make_consuming_repo(tmpdir_factory, repo_source):