style: remove trailing whitespace in mcp_server.py and test_runtime_clarity.py
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user