Enable Ruff preview flag

This commit is contained in:
Veronica Berglyd Olsen
2025-04-05 15:24:23 +02:00
parent 4a94a36a1d
commit 2975cc7f8f
3 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -605,7 +605,7 @@ class Index:
"""Get all headings for a specific item."""
if tItem := self._itemIndex[tHandle]:
yield from tItem.items()
return []
return
def novelStructure(
self, rootHandle: str | None = None, activeOnly: bool = True