@@ -214,13 +214,11 @@ def _get_token_terminal(base_url: str) -> Tuple[str, str]:
214214 :returns: A tuple containing the user's username and token.
215215 :rtype: Tuple[str, str]
216216 """
217- print (
218- f"""
217+ print (f"""
219218First, we need a Personal Access Token. To get one, please visit
220219{ TOKEN_GENERATION_URL } and click
221220"Create a Personal Access Token". The CLI needs access to everything
222- on your account to work correctly."""
223- )
221+ on your account to work correctly.""" )
224222
225223 while True :
226224 token = input ("Personal Access Token: " )
@@ -329,15 +327,13 @@ def log_message(self, form, *args): # pylint: disable=arguments-differ
329327 # figure out the URL to direct the user to and print out the prompt
330328 # pylint: disable-next=line-too-long
331329 url = f"https://login.linode.com/oauth/authorize?client_id={ OAUTH_CLIENT_ID } &response_type=token&scopes=*&redirect_uri=http://localhost:{ serv .server_address [1 ]} "
332- print (
333- f"""A browser should open directing you to this URL to authenticate:
330+ print (f"""A browser should open directing you to this URL to authenticate:
334331
335332{ url }
336333
337334If you are not automatically directed there, please copy/paste the link into your browser
338335to continue..
339- """
340- )
336+ """ )
341337
342338 webbrowser .open (url )
343339
@@ -348,7 +344,7 @@ def log_message(self, form, *args): # pylint: disable=arguments-differ
348344 except KeyboardInterrupt :
349345 print (
350346 "\n Giving up. If you couldn't get web authentication to work, please "
351- "try token using a token by invoking with `linode-cli configure --token`, "
347+ "try using a token by invoking with `linode-cli configure --token`, "
352348 "and open an issue at https://github.com/linode/linode-cli" ,
353349 file = sys .stderr ,
354350 )
0 commit comments