Fixups + make the tests work

This commit is contained in:
Anthony Sottile 2015-11-20 13:52:20 -08:00
parent 0ee4c3efa7
commit 738c2ad7bd
4 changed files with 25 additions and 27 deletions

View file

@ -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,