Replace isort with ruff for import sorting

- Update pre-commit config to use ruff with --select=I for imports only
- Apply ruff import sorting to fix pre-commit issues
- Ruff and black work together without conflicts
This commit is contained in:
Dakota 2025-06-04 11:28:30 -05:00
parent 55cdb83cbf
commit 61fdc37f61
13 changed files with 21 additions and 11 deletions

View file

@ -2,13 +2,13 @@ import logging # Added logging
import os
from typing import List, Optional # Add Optional & List import
from livekit.agents import mcp # Corrected import for mcp
from livekit.agents import tts # Corrected import for tts module
from livekit.agents import ( # Changed import; Add ChatContext import
ChatContext,
JobContext,
WorkerOptions,
cli,
mcp, # Corrected import for mcp
tts, # Corrected import for tts module
)
from livekit.agents.llm import ( # Added function_tool for delegate_to_router_agent if it were defined here
ChatChunk,