fix: organize imports according to linter rules

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-02-11 11:17:55 +00:00
parent 097fac6c87
commit edcd55d19f
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
"""Tool for handling human input using LangGraph's interrupt mechanism.""" """Tool for handling human input using LangGraph's interrupt mechanism."""
import logging
from typing import Any, Dict, Optional from typing import Any, Dict, Optional
from pydantic import BaseModel, Field from pydantic import BaseModel, Field
@@ -18,8 +19,6 @@ class HumanToolSchema(BaseModel):
description="Optional timeout in seconds for waiting for user response" description="Optional timeout in seconds for waiting for user response"
) )
import logging
class HumanTool(BaseTool): class HumanTool(BaseTool):
"""Tool for getting human input using LangGraph's interrupt mechanism. """Tool for getting human input using LangGraph's interrupt mechanism.

View File

@@ -1,8 +1,9 @@
"""Test HumanTool functionality.""" """Test HumanTool functionality."""
import pytest
from unittest.mock import patch from unittest.mock import patch
import pytest
from crewai.tools import HumanTool from crewai.tools import HumanTool
def test_human_tool_basic(): def test_human_tool_basic():