[pre-commit.ci] pre-commit autoupdate (#387)

<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.10 →
v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
pre-commit-ci[bot] 2024-07-04 11:04:41 -07:00 committed by GitHub
parent 59de13e8f9
commit 6fb5619adc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ repos:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.12.1"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.10"
rev: "v0.5.0"
hooks:
- id: ruff-format
- id: ruff

View File

@ -73,7 +73,7 @@ def detect_poetry_env_interpreter() -> Path | None:
# See https://python-poetry.org/docs/managing-environments/#displaying-the-environment-information.
try:
result = subprocess.run(
("poetry", "env", "info", "--executable"), # noqa: S603
("poetry", "env", "info", "--executable"),
check=True,
text=True,
stdout=subprocess.PIPE,