mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Add support for python and ruby local hooks
This commit is contained in:
parent
e5669ca135
commit
377cffbd27
12 changed files with 54 additions and 11 deletions
|
|
@ -58,6 +58,7 @@ def install_environment(
|
|||
repo_cmd_runner,
|
||||
version='default',
|
||||
additional_dependencies=(),
|
||||
is_local_hook = False,
|
||||
): # pragma: windows no cover
|
||||
assert repo_cmd_runner.exists('Dockerfile'), (
|
||||
'No Dockerfile was found in the hook repository'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue