[black] upgrade black 22.12.0 --> 24.2.0

The issue discussed in [1] has been solved since [2] has been merged into black
/ now we can upgrade without touching 69 files as it was needed with black
23.1.0 [3].

[1] https://github.com/searxng/searxng/pull/2159#issuecomment-1425723977
[2] https://github.com/psf/black/pull/4060
[3] https://github.com/searxng/searxng/pull/2159/files

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2024-03-08 18:22:31 +01:00 committed by Markus Heiser
parent 48d04871a4
commit a7b51f023e
14 changed files with 13 additions and 10 deletions

View file

@ -29,6 +29,7 @@ api_client_secret = None
url = 'https://api.spotify.com/'
search_url = url + 'v1/search?{query}&type=track&offset={offset}'
# do search-request
def request(query, params):
offset = (params['pageno'] - 1) * 20