POC for --dry-run param in run command

This commit is contained in:
Emmanuel Leblond 2023-11-18 13:44:30 +01:00
parent 2280645d0e
commit 455fc07ad9
No known key found for this signature in database
GPG key ID: C360860E645EFFC0
10 changed files with 40 additions and 10 deletions

View file

@ -22,6 +22,7 @@ def run_hook(
is_local: bool,
require_serial: bool,
color: bool,
dry_run: bool,
) -> tuple[int, bytes]: # pragma: win32 no cover
cmd = docker_cmd() + lang_base.hook_cmd(entry, args)
return lang_base.run_xargs(
@ -29,4 +30,5 @@ def run_hook(
file_args,
require_serial=require_serial,
color=color,
dry_run=dry_run,
)