mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 21:10:27 -06:00
fix r local hooks
`language: r` acts more like `language: script` so we have to *not* append the prefix when run with `repo: local`
This commit is contained in:
@@ -127,6 +127,7 @@ def run_hook(
|
||||
args: Sequence[str],
|
||||
file_args: Sequence[str],
|
||||
*,
|
||||
is_local: bool,
|
||||
require_serial: bool,
|
||||
color: bool,
|
||||
) -> tuple[int, bytes]: # pragma: win32 no cover
|
||||
|
||||
Reference in New Issue
Block a user