refactor: clean up imports and remove trailing whitespace in multiple files

This commit is contained in:
Abhimanyu Saharan
2026-02-08 00:51:57 +05:30
parent da1559fc98
commit e8600420b2
4 changed files with 6 additions and 4 deletions

View File

@@ -21,7 +21,12 @@ from app.core.time import utcnow
from app.db.pagination import paginate
from app.db.session import get_session
from app.integrations.openclaw_gateway import GatewayConfig as GatewayClientConfig
from app.integrations.openclaw_gateway import OpenClawGatewayError, ensure_session, openclaw_call, send_message
from app.integrations.openclaw_gateway import (
OpenClawGatewayError,
ensure_session,
openclaw_call,
send_message,
)
from app.models.activity_events import ActivityEvent
from app.models.agents import Agent
from app.models.approvals import Approval

View File

@@ -71,4 +71,3 @@ async def get_markdown(
except Exception as exc:
raise HTTPException(status_code=status.HTTP_502_BAD_GATEWAY, detail=str(exc)) from exc
return SoulsDirectoryMarkdownResponse(handle=safe_handle, slug=safe_slug, content=content)

View File

@@ -18,4 +18,3 @@ class SoulsDirectoryMarkdownResponse(BaseModel):
handle: str
slug: str
content: str

View File

@@ -26,4 +26,3 @@ def test_search_souls_matches_handle_or_slug() -> None:
]
assert search_souls(refs, query="writer", limit=20) == [refs[1]]
assert search_souls(refs, query="thedaviddias", limit=20) == [refs[0], refs[1]]