From 91188b3b9443ceda9e3c47778f83bde4761253fd Mon Sep 17 00:00:00 2001 From: Kemal Zebari <60799661+kemzeb@users.noreply.github.com> Date: Thu, 4 Jul 2024 11:23:37 -0700 Subject: [PATCH] Readd `# noqa: S603` to _detect_env to resolve Ruff error (#388) Whoops, not sure why the pre-commit bot decided to remove this ignore rule in the first place. --- src/pipdeptree/_detect_env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipdeptree/_detect_env.py b/src/pipdeptree/_detect_env.py index cfb2f3f..36037e8 100644 --- a/src/pipdeptree/_detect_env.py +++ b/src/pipdeptree/_detect_env.py @@ -72,7 +72,7 @@ def detect_poetry_env_interpreter() -> Path | None: # active interpreter. # See https://python-poetry.org/docs/managing-environments/#displaying-the-environment-information. try: - result = subprocess.run( + result = subprocess.run( # noqa: S603 ("poetry", "env", "info", "--executable"), check=True, text=True,