Skip to content

Commit dbd6006

Browse files
[pre-commit.ci] pre-commit autoupdate (#91)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 3e389b9 commit dbd6006

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ repos:
1919
- id: check-docstring-first
2020

2121
- repo: https://github.com/psf/black-pre-commit-mirror
22-
rev: 24.1.1
22+
rev: 24.2.0
2323
hooks:
2424
- id: black
2525

2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: v0.2.1
27+
rev: v0.2.2
2828
hooks:
2929
- id: ruff

src/poetry_plugin_bundle/bundlers/venv_bundler.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,13 @@ def _get_executable_info(self, executable: str) -> tuple[Path, Version]:
216216
pass
217217

218218
try:
219-
python_version_str = subprocess.check_output([
220-
executable,
221-
"-c",
222-
"import sys; print('.'.join([str(s) for s in sys.version_info[:3]]))",
223-
]).decode()
219+
python_version_str = subprocess.check_output(
220+
[
221+
executable,
222+
"-c",
223+
"import sys; print('.'.join([str(s) for s in sys.version_info[:3]]))",
224+
]
225+
).decode()
224226
except CalledProcessError as e:
225227
from poetry.utils.env import EnvCommandError
226228

0 commit comments

Comments
 (0)