style: remove trailing whitespace in mcp_server.py and test_runtime_clarity.py

This commit is contained in:
2026-07-04 14:57:21 -04:00
parent a0e7d3360e
commit 10a29d1bd5
2 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -2320,7 +2320,7 @@ def gitea_list_profiles() -> dict:
role = _role_kind(p["allowed_operations"], p["forbidden_operations"])
h = REMOTES.get("dadeschools", {}).get("host") # default host
username = _authenticated_username(h) if h else None
prof = {
"name": p["profile_name"],
"role_kind": role,
@@ -2344,7 +2344,7 @@ def gitea_list_profiles() -> dict:
for name, p in profiles_dict.items():
role = _role_kind(p.get("allowed_operations", []), p.get("forbidden_operations", []))
is_active = (name == active_name)
# Identity status lookup
if is_active:
h = REMOTES.get("dadeschools", {}).get("host") # default host
@@ -2468,7 +2468,7 @@ def gitea_activate_profile(
# 3. Clear identity cache to force a fresh verification
if h:
_IDENTITY_CACHE.pop(h, None)
# 4. Resolve fresh identity
after_profile = get_profile()["profile_name"]
after_identity = _authenticated_username(h) if h else None