fix: wrap long lines in authenticator.py for Black formatting

- Split f-string on line 185 (98 chars → 2 lines)
- Split f-string on line 374 (91 chars → 2 lines)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtstothard 2026-04-21 16:17:24 +01:00
parent 3d08accf76
commit 785f53f2ec

View file

@ -182,7 +182,8 @@ class Authenticator:
)
except httpx.HTTPStatusError as e:
verbose_logger.error(
f"HTTP error refreshing API key (attempt {attempt+1}/{max_retries}): {str(e)}"
f"HTTP error refreshing API key (attempt {attempt+1}/"
f"{max_retries}): {str(e)}"
)
except Exception as e:
verbose_logger.error(f"Unexpected error refreshing API key: {str(e)}")
@ -368,7 +369,8 @@ class Authenticator:
verification_uri = device_code_info["verification_uri"]
print( # noqa: T201
f"Please visit {verification_uri} and enter code {user_code} to authenticate.",
f"Please visit {verification_uri} and enter code {user_code} "
f"to authenticate.",
# When this is running in docker, it may not be flushed immediately
# so we force flush to ensure the user sees the message
flush=True,