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] committed Oct 9, 2024
1 parent abeaaba commit 7404854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tox_uv_venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def other_interpreter_exe() -> pathlib.Path: # pragma: no cover

exe = pathlib.Path(sys.executable)
base_python: pathlib.Path | None = None
if exe.name == "python" or exe.name == "python3":
if exe.name in {"python", "python3"}:
# python -> pythonX.Y
ver = sys.version_info
base_python = exe.with_name(f"python{ver.major}.{ver.minor}")
Expand Down

0 comments on commit 7404854

Please sign in to comment.