mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04: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:
parent
6eacdd440e
commit
420902f67c
12 changed files with 51 additions and 6 deletions
|
|
@ -48,6 +48,7 @@ def _hook_run(hook, filenames, color):
|
|||
hook.entry,
|
||||
hook.args,
|
||||
filenames,
|
||||
is_local=hook.src == 'local',
|
||||
require_serial=hook.require_serial,
|
||||
color=color,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue