fix: sort imports according to linter rules

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-02-11 11:11:01 +00:00
parent 8b58feb5e0
commit ae4ca7748c
3 changed files with 2 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
"""Tool for handling human input using LangGraph's interrupt mechanism.""" """Tool for handling human input using LangGraph's interrupt mechanism."""
from typing import Any, Dict import typing
from pydantic import Field from pydantic import Field

View File

@@ -1,8 +1,7 @@
"""Test HumanTool functionality.""" """Test HumanTool functionality."""
from unittest.mock import patch
import pytest import pytest
from unittest.mock import patch
from crewai.tools import HumanTool from crewai.tools import HumanTool

View File

@@ -88,8 +88,6 @@ def test_random_number_tool_schema():
def test_tool_usage_interrupt_handling(): def test_tool_usage_interrupt_handling():
"""Test that tool usage properly propagates LangGraph interrupts.""" """Test that tool usage properly propagates LangGraph interrupts."""
from unittest.mock import patch, MagicMock
class InterruptingTool(BaseTool): class InterruptingTool(BaseTool):
name: str = "interrupt_test" name: str = "interrupt_test"
description: str = "A tool that raises LangGraph interrupts" description: str = "A tool that raises LangGraph interrupts"