mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
fix(ci): sort imports in 4 test files (ruff I001)
This commit is contained in:
@@ -4,9 +4,10 @@ import asyncio
|
||||
from unittest.mock import AsyncMock, Mock, patch
|
||||
|
||||
import pytest
|
||||
from hanzo_mcp.tools.common.batch_tool import BatchTool
|
||||
from mcp.server.fastmcp import Context as MCPContext
|
||||
|
||||
from hanzo_mcp.tools.common.batch_tool import BatchTool
|
||||
|
||||
|
||||
class TestBatchToolEdgeCases:
|
||||
"""Test edge cases for the batch tool."""
|
||||
|
||||
@@ -5,7 +5,6 @@ import time
|
||||
from unittest.mock import AsyncMock, MagicMock, Mock, patch
|
||||
|
||||
import pytest
|
||||
from hanzo_mcp.tools.common.batch_tool import BatchTool
|
||||
from hanzo_tools.agent.cli_tools import (
|
||||
AiderCLITool,
|
||||
ClaudeCLITool,
|
||||
@@ -19,6 +18,8 @@ from hanzo_tools.agent.cli_tools import (
|
||||
OpenHandsShortCLITool,
|
||||
)
|
||||
|
||||
from hanzo_mcp.tools.common.batch_tool import BatchTool
|
||||
|
||||
|
||||
class TestCLITools:
|
||||
"""Test CLI tool implementations."""
|
||||
|
||||
@@ -23,10 +23,11 @@ except ImportError:
|
||||
RecallMemoriesTool = None
|
||||
CreateMemoriesTool = None
|
||||
|
||||
from hanzo_mcp.tools.common.batch_tool import BatchTool
|
||||
from hanzo_tools.agent.swarm_tool import SwarmTool
|
||||
from hanzo_tools.filesystem.search_tool import SearchTool as UnifiedSearchTool
|
||||
|
||||
from hanzo_mcp.tools.common.batch_tool import BatchTool
|
||||
|
||||
|
||||
class TestMemoryPerformance:
|
||||
"""Performance tests for memory tools."""
|
||||
|
||||
@@ -12,13 +12,13 @@ import shutil
|
||||
import tempfile
|
||||
|
||||
import pytest
|
||||
from hanzo_mcp.tools.common.batch_tool import BatchTool
|
||||
from hanzo_tools.agent.agent_tool import AgentTool
|
||||
from hanzo_tools.agent.swarm_tool import SwarmTool
|
||||
from hanzo_tools.filesystem import Write
|
||||
from mcp.server.fastmcp import Context as MCPContext
|
||||
from mcp.server.fastmcp import FastMCP
|
||||
|
||||
from hanzo_mcp.tools.common.batch_tool import BatchTool
|
||||
from hanzo_mcp.tools.common.permissions import PermissionManager
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user