mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
style: Run pre-commit
This commit is contained in:
parent
b47882b114
commit
9c6c13b78a
235 changed files with 7180 additions and 5628 deletions
|
@ -17,8 +17,8 @@ RPC_SEARCH_BY = "name-desc"
|
|||
|
||||
|
||||
def fallback_pp(per_page: int) -> int:
|
||||
""" If `per_page` is a valid value in PP_WHITELIST, return it.
|
||||
Otherwise, return defaults.PP. """
|
||||
"""If `per_page` is a valid value in PP_WHITELIST, return it.
|
||||
Otherwise, return defaults.PP."""
|
||||
if per_page not in PP_WHITELIST:
|
||||
return PP
|
||||
return per_page
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue