mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Move ruff to 0.12.2 and fix new complaints
This commit is contained in:
parent
9e3e1325c0
commit
4dedf17958
21 changed files with 64 additions and 102 deletions
|
|
@ -261,8 +261,7 @@ class Writer:
|
|||
# generated pages, and write
|
||||
for page_num in range(next(iter(paginators.values())).num_pages):
|
||||
paginated_kwargs = kwargs.copy()
|
||||
for key in paginators.keys():
|
||||
paginator = paginators[key]
|
||||
for key, paginator in paginators.items():
|
||||
previous_page = paginator.page(page_num) if page_num > 0 else None
|
||||
page = paginator.page(page_num + 1)
|
||||
next_page = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue