mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Allow arbitrary bytes in output. Resolves #245
This commit is contained in:
parent
826aa4cebd
commit
66b1d39c6e
11 changed files with 104 additions and 50 deletions
|
|
@ -18,4 +18,5 @@ def run_hook(repo_cmd_runner, hook, file_args):
|
|||
['xargs', '-0'] + shlex.split(hook['entry']) + hook['args'],
|
||||
stdin=file_args_to_stdin(file_args),
|
||||
retcode=None,
|
||||
encoding=None,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue