From edcd55d19ff5c4e4478dd74d5ec13e0f4126306e Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 11:17:55 +0000 Subject: [PATCH] fix: organize imports according to linter rules Co-Authored-By: Joe Moura --- src/crewai/tools/human_tool.py | 3 +-- tests/tools/test_human_tool.py | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/crewai/tools/human_tool.py b/src/crewai/tools/human_tool.py index 39c7ccd66..80b5e669b 100644 --- a/src/crewai/tools/human_tool.py +++ b/src/crewai/tools/human_tool.py @@ -1,5 +1,6 @@ """Tool for handling human input using LangGraph's interrupt mechanism.""" +import logging from typing import Any, Dict, Optional from pydantic import BaseModel, Field @@ -18,8 +19,6 @@ class HumanToolSchema(BaseModel): description="Optional timeout in seconds for waiting for user response" ) -import logging - class HumanTool(BaseTool): """Tool for getting human input using LangGraph's interrupt mechanism. diff --git a/tests/tools/test_human_tool.py b/tests/tools/test_human_tool.py index 587476f9e..547c606ab 100644 --- a/tests/tools/test_human_tool.py +++ b/tests/tools/test_human_tool.py @@ -1,8 +1,9 @@ """Test HumanTool functionality.""" -import pytest from unittest.mock import patch +import pytest + from crewai.tools import HumanTool def test_human_tool_basic():