mirror of
https://github.com/python-poetry/install.python-poetry.org.git
synced 2024-11-06 06:05:52 -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
5ddfc5667c
commit
767db614c9
1 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue