From 28521775f894d23144e3dab44f636b88201a9553 Mon Sep 17 00:00:00 2001 From: aakash Date: Mon, 6 Oct 2025 13:43:00 -0700 Subject: [PATCH] fix: Apply final formatting fixes for pre-commit hooks - Remove unused imports (asyncio, pathlib.Path) - Remove unused class imports in demo script - Ensure all files pass ruff format and pre-commit checks This should resolve all remaining CI linting issues. --- apps/twitter_rag.py | 1 - examples/mcp_integration_demo.py | 2 -- tests/test_mcp_integration.py | 1 - 3 files changed, 4 deletions(-) diff --git a/apps/twitter_rag.py b/apps/twitter_rag.py index b46996b..8cd5bcd 100644 --- a/apps/twitter_rag.py +++ b/apps/twitter_rag.py @@ -11,7 +11,6 @@ Usage: import argparse import asyncio -from pathlib import Path from apps.base_rag_example import BaseRAGExample from apps.twitter_data.twitter_mcp_reader import TwitterMCPReader diff --git a/examples/mcp_integration_demo.py b/examples/mcp_integration_demo.py index 94ef580..7825676 100644 --- a/examples/mcp_integration_demo.py +++ b/examples/mcp_integration_demo.py @@ -18,8 +18,6 @@ from pathlib import Path # Add the parent directory to the path so we can import from apps sys.path.append(str(Path(__file__).parent.parent)) -from apps.slack_rag import SlackMCPRAG -from apps.twitter_rag import TwitterMCPRAG async def demo_slack_mcp(): diff --git a/tests/test_mcp_integration.py b/tests/test_mcp_integration.py index c097e34..a4b4e55 100644 --- a/tests/test_mcp_integration.py +++ b/tests/test_mcp_integration.py @@ -7,7 +7,6 @@ without requiring actual MCP servers to be running. """ import sys -import asyncio from pathlib import Path # Add the parent directory to the path so we can import from apps