From 767db614c92afb79fde1b85cd0614bf3f75e8389 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 26 Dec 2021 21:30:14 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- install-poetry.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install-poetry.py b/install-poetry.py index 7a2a988..6399217 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -275,7 +275,9 @@ class PoetryInstallationError(RuntimeError): class VirtualEnvironment: def __init__(self, path: Path) -> None: self._path = path - self._bin_path = self._path.joinpath("Scripts" if WINDOWS and not MINGW else "bin") + self._bin_path = self._path.joinpath( + "Scripts" if WINDOWS and not MINGW else "bin" + ) # str is required for compatibility with subprocess run on CPython <= 3.7 on Windows self._python = str( self._path.joinpath(self._bin_path, "python.exe" if WINDOWS else "python")