mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 08:34:41 +04:00
Pass language_version to the install method for each language.
This commit is contained in:
parent
4f2f1731ea
commit
a7ab9b2a28
7 changed files with 12 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue