From fcd6d7f27a2eb40602db015552061d8d08e48614 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 22:34:25 +0000 Subject: [PATCH] fix: remove unnecessary type ignore on second sandlock import (already cached by mypy) 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3b98c9cf8..56a756340 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 @@ -474,7 +474,7 @@ class CodeInterpreterTool(BaseTool): "(pip install sandlock) and you are running on Linux 5.13+." ) - from sandlock import Sandbox # type: ignore[import-untyped] + from sandlock import Sandbox Printer.print( "Running code in sandlock sandbox (Landlock + seccomp-bpf)",