Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and neersighted committed Jan 21, 2022
1 parent 5ddfc56 commit 767db61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install-poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ def __init__(self, return_code: int = 0, log: Optional[str] = None):
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")
Expand Down

0 comments on commit 767db61

Please sign in to comment.