mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
r does not support language_version currently
This commit is contained in:
parent
cf3e826070
commit
8923fa368a
1 changed files with 2 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ def install_environment(
|
||||||
version: str,
|
version: str,
|
||||||
additional_dependencies: Sequence[str],
|
additional_dependencies: Sequence[str],
|
||||||
) -> None:
|
) -> None:
|
||||||
|
lang_base.assert_version_default('r', version)
|
||||||
|
|
||||||
env_dir = lang_base.environment_dir(prefix, ENVIRONMENT_DIR, version)
|
env_dir = lang_base.environment_dir(prefix, ENVIRONMENT_DIR, version)
|
||||||
os.makedirs(env_dir, exist_ok=True)
|
os.makedirs(env_dir, exist_ok=True)
|
||||||
shutil.copy(prefix.path('renv.lock'), env_dir)
|
shutil.copy(prefix.path('renv.lock'), env_dir)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue