Skip to content

Commit c85f227

Browse files
committed
style: ruff format packages/quantcore/mcp/server.py
1 parent ff8e367 commit c85f227

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/quantcore/mcp/server.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ async def lifespan(server: FastMCP):
6666
try:
6767
ctx.data_store = DataStore()
6868
except RuntimeError as exc:
69-
logger.warning(
70-
f"DuckDB write lock conflict — falling back to read-only mode. {exc}"
71-
)
69+
logger.warning(f"DuckDB write lock conflict — falling back to read-only mode. {exc}")
7270
try:
7371
ctx.data_store = DataStore(read_only=True)
7472
logger.warning(
@@ -1385,7 +1383,6 @@ async def compute_implied_vol(
13851383
return {"error": str(e)}
13861384

13871385

1388-
13891386
@mcp.tool()
13901387
async def analyze_option_structure(
13911388
structure_spec: dict[str, Any],
@@ -4255,8 +4252,6 @@ async def get_event_calendar(
42554252
# =============================================================================
42564253

42574254

4258-
4259-
42604255
# =============================================================================
42614256
# VALIDATION TOOLS (NEW)
42624257
# =============================================================================

0 commit comments

Comments
 (0)