mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Some slight fixups
This commit is contained in:
parent
3726f07a3f
commit
fb0d67bd87
7 changed files with 35 additions and 19 deletions
|
|
@ -78,9 +78,11 @@ def _install_ruby(environment, version):
|
|||
environment.run('rbenv install {0}'.format(version))
|
||||
|
||||
|
||||
def install_environment(repo_cmd_runner,
|
||||
version='default',
|
||||
additional_dependencies=None):
|
||||
def install_environment(
|
||||
repo_cmd_runner,
|
||||
version='default',
|
||||
additional_dependencies=None,
|
||||
):
|
||||
directory = helpers.environment_dir(ENVIRONMENT_DIR, version)
|
||||
with clean_path_on_failure(repo_cmd_runner.path(directory)):
|
||||
# TODO: this currently will fail if there's no version specified and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue