From 5eaaacd20870acf76faabd3faca3e7df335b81ff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 22 Sep 2022 15:08:55 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- install-poetry.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install-poetry.py b/install-poetry.py index c4c65d1..c4e370b 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -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 (