mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
speed up R unit tests
This commit is contained in:
parent
a26b631aae
commit
966c67a832
3 changed files with 44 additions and 98 deletions
|
|
@ -64,7 +64,7 @@ def _entry_validate(entry: list[str]) -> None:
|
|||
raise ValueError('You can supply at most one expression.')
|
||||
elif len(entry) > 2:
|
||||
raise ValueError(
|
||||
'The only valid syntax is `Rscript -e {expr}`',
|
||||
'The only valid syntax is `Rscript -e {expr}`'
|
||||
'or `Rscript path/to/hook/script`',
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue