Skip to content

Commit bbb521a

Browse files
Robert WeberRobert Weber
authored andcommitted
Mypy update
1 parent 1a8e4f3 commit bbb521a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

novelforge/routes/generation/chapters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,11 +362,11 @@ def _set_step(step_label: str) -> None:
362362
if pl not in seen:
363363
seen.add(pl)
364364
unique.append(p)
365-
recent = unique[-15:]
365+
recent_phrases = unique[-15:]
366366
_theme_warning = (
367367
"BANNED THEMATIC PHRASINGS (already used in prior chapters — "
368368
"restate themes in FRESH language, not these exact formulations):\n"
369-
+ "\n".join(f'- "{p}"' for p in recent)
369+
+ "\n".join(f'- "{p}"' for p in recent_phrases)
370370
)
371371

372372
# Combine compression guidance with exposition and theme warnings

0 commit comments

Comments
 (0)