Skip to content

Commit 9a3fc93

Browse files
committed
refactor: Remove unused imports across multiple test files
1 parent 3d936b9 commit 9a3fc93

6 files changed

Lines changed: 3 additions & 10 deletions

File tree

examples/langgraph_agent.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@
1313
"""
1414

1515
import httpx
16-
import json
17-
from typing import TypedDict, Annotated, List
16+
from typing import TypedDict, List
1817
from langchain_anthropic import ChatAnthropic
1918
from langgraph.graph import StateGraph, END
20-
from langgraph.prebuilt import ToolNode
2119

2220

2321
# State definition

tests/mcp/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88

99
import pytest
1010
import httpx
11-
import json
1211
import subprocess
1312
import time
1413
import os
1514
import socket
16-
from typing import Dict, Any, Optional
15+
from typing import Dict, Any
1716

1817

1918
class MCPClient:

tests/mcp/scripts/schema_validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import json
1010
from pathlib import Path
1111
from typing import Dict, Any
12-
from jsonschema import validate, ValidationError
12+
from jsonschema import validate
1313

1414

1515
# Schema directory

tests/mcp/test_command_logging.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"""
55
import json
66
import time
7-
from pathlib import Path
87
import pytest
98

109

tests/mcp/test_coverage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
Tests for show_coverage and dump_lcov MCP tools using upstream implementation.
77
"""
88

9-
import pytest
109
import time
11-
import re
1210

1311

1412
def test_show_coverage_returns_data(mcp_client):

tests/mcp/test_schemas.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Updated to match upstream's 7 active tools.
88
"""
99

10-
import pytest
1110
from tests.mcp.scripts.schema_validator import validate_response
1211

1312

0 commit comments

Comments
 (0)