mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
add '--isolated' to pip install to avoid authentication to private PyPI
Solves https://github.com/pre-commit/pre-commit/issues/1454
This commit is contained in:
parent
202f0bbbc9
commit
5adc7edc4f
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ def install_environment(
|
|||
python = norm_version(version)
|
||||
if python is not None:
|
||||
venv_cmd.extend(('-p', python))
|
||||
install_cmd = ('python', '-mpip', 'install', '.', *additional_dependencies)
|
||||
install_cmd = ('python', '-mpip', 'install', '--isolated', '.', *additional_dependencies)
|
||||
|
||||
with clean_path_on_failure(envdir):
|
||||
cmd_output_b(*venv_cmd, cwd='/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue