Format code

This commit is contained in:
Zoe Roux 2024-04-30 19:34:56 +02:00
parent 4c31e8cd70
commit d617d8c32a
No known key found for this signature in database

View File

@ -57,7 +57,9 @@ class UnlistTitles(Rule):
fileparts: List[Match] = matches.markers.named("path") # type: ignore
for part in fileparts:
titles: List[Match] = matches.range(part.start, part.end, lambda x: x.name == "title") # type: ignore
titles: List[Match] = matches.range(
part.start, part.end, lambda x: x.name == "title"
) # type: ignore
if not titles or len(titles) <= 1:
continue