Skip to content

Commit

Permalink
chore: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-lambdaloopers committed Sep 10, 2024
1 parent 722b2f7 commit a8c44bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqladmin/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def next_page(self) -> PageControl:

raise RuntimeError("Next page not found.")

def __post_init__(self):
def __post_init__(self) -> None:
# Clamp page
self.page = min(self.page, max(1, self.count // self.page_size + 1))

Expand Down

0 comments on commit a8c44bc

Please sign in to comment.