Replace string literals with constants

This commit is contained in:
Iulian Onofrei 2018-01-09 17:51:41 +02:00
parent a5f3cefb64
commit 8407b92b18
4 changed files with 9 additions and 8 deletions

View file

@ -47,7 +47,7 @@ def modify_manifest(path):
with io.open(manifest_path, 'w') as manifest_file:
manifest_file.write(ordered_dump(manifest, **C.YAML_DUMP_KWARGS))
cmd_output(
'git', 'commit', '-am', 'update .pre-commit-hooks.yaml', cwd=path,
'git', 'commit', '-am', 'update {}'.format(C.MANIFEST_FILE), cwd=path,
)