1
0
Fork 0
mirror of https://github.com/python-poetry/install.python-poetry.org.git synced 2024-11-21 21:50:58 -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:
pre-commit-ci[bot] 2022-09-22 15:08:55 +00:00
parent 708da61381
commit 5eaaacd208

View file

@ -306,8 +306,11 @@ class VirtualEnvironment:
import ensurepip # noqa: F401 import ensurepip # noqa: F401
import venv import venv
builder = venv.EnvBuilder(clear=True, with_pip=True, symlinks=False) if WINDOWS else \ builder = (
venv.EnvBuilder(clear=True, with_pip=True, symlinks=True) 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) context = builder.ensure_directories(target)
if ( if (