mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 00:24:47 +04:00
Merge 3957ac8622 into 8416413a0e
This commit is contained in:
commit
74d5327dda
3 changed files with 28 additions and 2 deletions
|
|
@ -49,8 +49,13 @@ def run_hook(
|
|||
def get_env_patch(target_dir: str, version: str) -> PatchesT:
|
||||
return (
|
||||
('JULIA_LOAD_PATH', target_dir),
|
||||
# May be set, remove it to not interfer with LOAD_PATH
|
||||
# May be set, remove it to not interfere with LOAD_PATH
|
||||
('JULIA_PROJECT', UNSET),
|
||||
# Only set JULIAUP_CHANNEL if we don't want use the system's default
|
||||
*(
|
||||
(('JULIAUP_CHANNEL', version),)
|
||||
if version not in ('system', 'default') else ()
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue