style(tags): C416 — use dict(members) instead of identity comprehension (#714)
CI / lint (push) Successful in 2s
CI / frontend-build (push) Successful in 21s
CI / backend-lint-and-test (push) Successful in 26s
CI / integration (push) Successful in 3m2s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 16:32:24 -04:00
parent 3c89223dcb
commit 6332ae13fd
+1 -1
View File
@@ -715,7 +715,7 @@ async def normalize_existing_tags(
}
for key, members in touched:
canonical = key[2]
names_by_id = {tag_id: name for tag_id, name in members}
names_by_id = dict(members)
# Survivor: prefer a member already named canonically (no rename, no
# self-alias); else the best-connected (fewest FK repoints); else
# lowest id for determinism.