diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6cea6bf..f8df248 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/src/pipdeptree/_detect_env.py b/src/pipdeptree/_detect_env.py index e1ba079..cfb2f3f 100644 --- a/src/pipdeptree/_detect_env.py +++ b/src/pipdeptree/_detect_env.py @@ -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,