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.
This commit is contained in:
@@ -11,7 +11,6 @@ Usage:
|
|||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import asyncio
|
import asyncio
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
from apps.base_rag_example import BaseRAGExample
|
from apps.base_rag_example import BaseRAGExample
|
||||||
from apps.twitter_data.twitter_mcp_reader import TwitterMCPReader
|
from apps.twitter_data.twitter_mcp_reader import TwitterMCPReader
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ from pathlib import Path
|
|||||||
# Add the parent directory to the path so we can import from apps
|
# Add the parent directory to the path so we can import from apps
|
||||||
sys.path.append(str(Path(__file__).parent.parent))
|
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():
|
async def demo_slack_mcp():
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ without requiring actual MCP servers to be running.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import asyncio
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
# Add the parent directory to the path so we can import from apps
|
# Add the parent directory to the path so we can import from apps
|
||||||
|
|||||||
Reference in New Issue
Block a user