mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-21 13:41:04 -05:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
708da61381
commit
5eaaacd208
1 changed files with 5 additions and 2 deletions
|
@ -306,8 +306,11 @@ class VirtualEnvironment:
|
|||
import ensurepip # noqa: F401
|
||||
import venv
|
||||
|
||||
builder = venv.EnvBuilder(clear=True, with_pip=True, symlinks=False) if WINDOWS else \
|
||||
venv.EnvBuilder(clear=True, with_pip=True, symlinks=True)
|
||||
builder = (
|
||||
venv.EnvBuilder(clear=True, with_pip=True, symlinks=False)
|
||||
if WINDOWS
|
||||
else venv.EnvBuilder(clear=True, with_pip=True, symlinks=True)
|
||||
)
|
||||
context = builder.ensure_directories(target)
|
||||
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue