From 71586583b9d88f4c47c6566bab307d89b80a1e36 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 19 Feb 2026 11:42:55 +0000 Subject: [PATCH] Fix ruff S603 noqa placement on subprocess.run line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: João --- .../tools/code_interpreter_tool/code_interpreter_tool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crewai-tools/src/crewai_tools/tools/code_interpreter_tool/code_interpreter_tool.py b/lib/crewai-tools/src/crewai_tools/tools/code_interpreter_tool/code_interpreter_tool.py index 34dc3ba1a..fb90af4f9 100644 --- a/lib/crewai-tools/src/crewai_tools/tools/code_interpreter_tool/code_interpreter_tool.py +++ b/lib/crewai-tools/src/crewai_tools/tools/code_interpreter_tool/code_interpreter_tool.py @@ -415,8 +415,8 @@ class CodeInterpreterTool(BaseTool): Printer.print("WARNING: Running code in unsafe mode", color="bold_magenta") # Install libraries on the host machine for library in libraries_used: - subprocess.run( - ["pip", "install", library], # noqa: S603, S607 + subprocess.run( # noqa: S603 + ["pip", "install", library], # noqa: S607 check=True, capture_output=True, )