mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 13:00:10 -06:00
test docker and docker_image directly
This commit is contained in:
@@ -138,9 +138,8 @@ def run_hook(
|
||||
entry_exe, *cmd_rest = helpers.hook_cmd(entry, args)
|
||||
|
||||
entry_tag = ('--entrypoint', entry_exe, docker_tag(prefix))
|
||||
cmd = (*docker_cmd(), *entry_tag, *cmd_rest)
|
||||
return helpers.run_xargs(
|
||||
cmd,
|
||||
(*docker_cmd(), *entry_tag, *cmd_rest),
|
||||
file_args,
|
||||
require_serial=require_serial,
|
||||
color=color,
|
||||
|
||||
Reference in New Issue
Block a user