mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-16 05:09:53 -06:00
Use covdefaults to handle coveragerc
This commit is contained in:
@@ -16,7 +16,7 @@ def run_hook(
|
||||
hook: Hook,
|
||||
file_args: Sequence[str],
|
||||
color: bool,
|
||||
) -> Tuple[int, bytes]: # pragma: windows no cover
|
||||
) -> Tuple[int, bytes]: # pragma: win32 no cover
|
||||
assert_docker_available()
|
||||
cmd = docker_cmd() + hook.cmd
|
||||
return helpers.run_xargs(hook, cmd, file_args, color=color)
|
||||
|
||||
Reference in New Issue
Block a user