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 64ee3d94b..8af1e532f 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 @@ -408,7 +408,7 @@ class CodeInterpreterTool(BaseTool): Returns: A sandlock Policy object configured with the appropriate restrictions. """ - from sandlock import Policy # type: ignore[import-not-found] + from sandlock import Policy # type: ignore[import-untyped,import-not-found] # Default readable paths for Python execution default_readable = [ @@ -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-not-found] + from sandlock import Sandbox # type: ignore[import-untyped,import-not-found] Printer.print( "Running code in sandlock sandbox (Landlock + seccomp-bpf)",