Skip to content

Commit ea03629

Browse files
style: ruff format (auto)
1 parent 03bb9ca commit ea03629

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/auth/ibm_auth.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
IBM_JWT_PUBLIC_KEY_URL is configured.
77
fetch_ibm_public_key — fetch and cache IBM's public key PEM.
88
"""
9+
910
import httpx
1011
import jwt
1112
from cryptography.hazmat.primitives.serialization import load_pem_public_key
@@ -72,6 +73,7 @@ def extract_ibm_credentials(basic_credentials: str) -> tuple[str, str]:
7273
Returns ("unknown", "") if decoding fails.
7374
"""
7475
import base64
76+
7577
try:
7678
raw = basic_credentials[6:] if basic_credentials.startswith("Basic ") else basic_credentials
7779
decoded = base64.b64decode(raw).decode("utf-8")

0 commit comments

Comments
 (0)