mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-03 05:34:23 -04:00
Format code
This commit is contained in:
parent
4c31e8cd70
commit
d617d8c32a
@ -57,7 +57,9 @@ class UnlistTitles(Rule):
|
|||||||
fileparts: List[Match] = matches.markers.named("path") # type: ignore
|
fileparts: List[Match] = matches.markers.named("path") # type: ignore
|
||||||
|
|
||||||
for part in fileparts:
|
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:
|
if not titles or len(titles) <= 1:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user