1
0
Fork 0
forked from github/pelican

More ruff fixes in files: stop ignoring C408, UP007, PLR5501, B006

This commit is contained in:
boxydog 2024-05-30 13:21:12 -05:00
commit 7577dd7603
16 changed files with 72 additions and 82 deletions

View file

@ -131,9 +131,8 @@ class Page:
if not self.has_next():
rule = p
break
else:
if p.min_page <= self.number:
rule = p
elif p.min_page <= self.number:
rule = p
if not rule:
return ""