fix(migration-0022): rename unused _epid loop var (ruff B007)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -109,7 +109,7 @@ def upgrade() -> None:
|
|||||||
by_epid: dict = {}
|
by_epid: dict = {}
|
||||||
for epid, post_id, src_id in all_posts:
|
for epid, post_id, src_id in all_posts:
|
||||||
by_epid.setdefault(epid, []).append((post_id, src_id))
|
by_epid.setdefault(epid, []).append((post_id, src_id))
|
||||||
for epid, posts in by_epid.items():
|
for _epid, posts in by_epid.items():
|
||||||
if len(posts) <= 1:
|
if len(posts) <= 1:
|
||||||
continue
|
continue
|
||||||
# Prefer a Post already under canonical as the keep.
|
# Prefer a Post already under canonical as the keep.
|
||||||
|
|||||||
Reference in New Issue
Block a user