Skip to content

Commit 64d2f2a

Browse files
Change string concatenation style to be adjacent string literal (#563)
Co-authored-by: Lena Garber <[email protected]>
1 parent e1ca413 commit 64d2f2a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

linodecli/configuration/__init__.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -304,21 +304,20 @@ def configure(
304304

305305
if ENV_TOKEN_NAME in os.environ:
306306
print(
307-
f"""Using token from {ENV_TOKEN_NAME}.
308-
Note that no token will be saved in your configuration file.
309-
* If you lose or remove {ENV_TOKEN_NAME}.
310-
* All profiles will use {ENV_TOKEN_NAME}."""
307+
f"Using token from {ENV_TOKEN_NAME}.\n"
308+
"Note that no token will be saved in your configuration file.\n"
309+
f" * If you lose or remove {ENV_TOKEN_NAME}.\n"
310+
f" * All profiles will use {ENV_TOKEN_NAME}."
311311
)
312312
username = "DEFAULT"
313313
token = os.getenv(ENV_TOKEN_NAME)
314314

315315
else:
316316
if _check_browsers() and not self.configure_with_pat:
317317
print(
318-
"""
319-
The CLI will use its web-based authentication to log you in.
320-
If you prefer to supply a Personal Access Token, use `linode-cli configure --token`.
321-
"""
318+
"The CLI will use its web-based authentication to log you in.\n"
319+
"If you prefer to supply a Personal Access Token,"
320+
"use `linode-cli configure --token`."
322321
)
323322
input(
324323
"Press enter to continue. "

0 commit comments

Comments
 (0)