style: ruff format after MCP server integration

Reformat the files touched by Tasks 1-14 of the host-agent MCP server
plan. No semantic changes; pre-existing format issues in unrelated
files (test_templates, test_skill_sync_wiring, 0010_skill_management,
test_skill_catalog_mcp) left untouched for a separate housekeeping
pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-21 15:52:32 +08:00
co-authored by Claude Opus 4.6
parent 6d9237a592
commit e69cea0245
16 changed files with 60 additions and 62 deletions
+2 -4
View File
@@ -141,9 +141,7 @@ def _wrap_tool(
return _with_display_status(handler, status_tracker, *args, **kwargs)
if device_id is not None and tool_name not in _NON_DEVICE_TOOLS:
_check_and_acquire(
device_id, session_id, mcp_busy_tracker, status_tracker
)
_check_and_acquire(device_id, session_id, mcp_busy_tracker, status_tracker)
return handler(*args, **kwargs)
@@ -254,4 +252,4 @@ def _call_tool_sync(
raise KeyError(f"tool {tool_name!r} has no callable")
return fn(**arguments)
finally:
_TEST_SESSION_ID.reset(token)
_TEST_SESSION_ID.reset(token)