mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fixups + make the tests work
This commit is contained in:
parent
0ee4c3efa7
commit
738c2ad7bd
4 changed files with 25 additions and 27 deletions
|
|
@ -18,7 +18,6 @@ def install_environment(
|
|||
def run_hook(repo_cmd_runner, hook, file_args):
|
||||
return repo_cmd_runner.run(
|
||||
['xargs', '-0', '{{prefix}}{0}'.format(hook['entry'])] + hook['args'],
|
||||
# TODO: this is duplicated in pre_commit/languages/helpers.py
|
||||
stdin=file_args_to_stdin(file_args),
|
||||
retcode=None,
|
||||
encoding=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue