mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
test docker and docker_image directly
This commit is contained in:
parent
b609368ca5
commit
0afb95ccca
9 changed files with 46 additions and 88 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue