@@ -183,7 +183,10 @@ def _retrieve_tokens(self) -> Tokens:
183183 rd_addr = f"{ rd_url } :{ self ._ws_port } "
184184
185185 url , _ = oauth .auth_url_and_state (self .secrets , rd_addr )
186- print (f"\33 [38;5;45mYou need to authorise analytix. To do so, visit this URL:\33 [0m \33 [4m{ url } \33 [0m" )
186+ print (
187+ "\33 [38;5;45mYou need to authorise analytix. "
188+ f"To do so, visit this URL:\33 [0m \33 [4m{ url } \33 [0m"
189+ )
187190
188191 ws = Server (rd_url [7 :], self ._ws_port )
189192 try :
@@ -245,7 +248,8 @@ def needs_token_refresh(self) -> bool:
245248 Whether the refresh tokens need to be refreshed.
246249
247250 !!! note
248- If the client is authorised, this will always return `False`.
251+ If the client is authorised, this will always return
252+ `False`.
249253 """
250254
251255 if not self ._tokens :
@@ -371,7 +375,7 @@ def retrieve_report(
371375 Raises
372376 ------
373377 APIError
374- An error occured when retrieving the report.
378+ An error occurred when retrieving the report.
375379
376380 !!! warning
377381 If `end_date` is set to (or near to) the current date, some
@@ -478,7 +482,7 @@ def fetch_groups(
478482 Raises
479483 ------
480484 APIError
481- An error occured when retrieving the report.
485+ An error occurred when retrieving the report.
482486
483487 !!! note
484488 A next page token is always included irrespective of how
@@ -541,7 +545,7 @@ def fetch_group_items(
541545 Raises
542546 ------
543547 APIError
544- An error occured when retrieving the report.
548+ An error occurred when retrieving the report.
545549
546550 Examples
547551 --------
0 commit comments