mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Replace string literals with constants
This commit is contained in:
parent
a5f3cefb64
commit
8407b92b18
4 changed files with 9 additions and 8 deletions
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue