From 2523579fc83ee5427ffb2f2cb4d895eab4ac715f Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Fri, 28 Aug 2026 16:53:32 +0100 Subject: [PATCH] chore: reformat files with ruff Committed via https://github.com/asottile/all-repos --- docs/usage.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 9e1290bac..1470dd0b6 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -20,7 +20,7 @@ This is [the recommended way to use it by `httpx`](https://www.python-httpx.org/ From there, you can search for some terms: ```pycon ->>> client.search('Daft Punk') +>>> client.search("Daft Punk") , , @@ -35,7 +35,7 @@ The above returned a lot of tracks, wrapped in a {class}`PaginatedList ` method: ```pycon ->>> client.search_artists('Daft Punk') +>>> client.search_artists("Daft Punk") , , @@ -77,7 +77,7 @@ For example, when you get an {class}`Artist `, you may call one o Let's try from the initial example: ```pycon ->>> daft_punk = client.search_artists('Daft Punk')[0] +>>> daft_punk = client.search_artists("Daft Punk")[0] >>> daft_punk.get_albums()[:4] [, , @@ -156,7 +156,7 @@ To integrate the OAuth flow in your application, we recommend looking at other l Once the OAuth2 flow is complete, Deezer should give you a token which can be passed to the {class}`Client ` class: ```python -client = deezer.Client(access_token='your-super-secret-token') +client = deezer.Client(access_token="your-super-secret-token") ``` From there, you should be able to perform authenticated requests.