mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Revert "Change cmd_output_bs retcode arg to a boolean check"
This commit is contained in:
parent
0827de1864
commit
19710cd956
17 changed files with 37 additions and 33 deletions
|
|
@ -154,7 +154,7 @@ def xargs(
|
|||
run_cmd: tuple[str, ...],
|
||||
) -> tuple[int, bytes, bytes | None]:
|
||||
return cmd_fn(
|
||||
*run_cmd, check=False, stderr=subprocess.STDOUT, **kwargs,
|
||||
*run_cmd, retcode=None, stderr=subprocess.STDOUT, **kwargs,
|
||||
)
|
||||
|
||||
threads = min(len(partitions), target_concurrency)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue