mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 04:20:28 -06:00
Pass language_version to the install method for each language.
This commit is contained in:
@@ -18,7 +18,7 @@ def in_env(repo_cmd_runner):
|
||||
yield PythonEnv(repo_cmd_runner)
|
||||
|
||||
|
||||
def install_environment(repo_cmd_runner):
|
||||
def install_environment(repo_cmd_runner, version='default'):
|
||||
assert repo_cmd_runner.exists('setup.py')
|
||||
|
||||
# Install a virtualenv
|
||||
|
||||
Reference in New Issue
Block a user