From 14e6eb471b8b4a4ac6c14c8705bcab915fbe7f98 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 18 Jan 2026 11:39:59 +0100 Subject: [PATCH] Update formatting. --- plugins/module_utils/_api/utils/socket.py | 2 +- plugins/modules/docker_login.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/module_utils/_api/utils/socket.py b/plugins/module_utils/_api/utils/socket.py index 0deb3ad7..8ba27238 100644 --- a/plugins/module_utils/_api/utils/socket.py +++ b/plugins/module_utils/_api/utils/socket.py @@ -127,7 +127,7 @@ def frames_iter_no_tty(socket: SocketLike) -> t.Generator[tuple[int, bytes]]: not enabled. """ while True: - (stream, n) = next_frame_header(socket) + stream, n = next_frame_header(socket) if n < 0: break while n > 0: diff --git a/plugins/modules/docker_login.py b/plugins/modules/docker_login.py index 91f47388..142133ff 100644 --- a/plugins/modules/docker_login.py +++ b/plugins/modules/docker_login.py @@ -189,7 +189,7 @@ class DockerFileStore: if not server_creds: raise CredentialsNotFound("No matching credentials") - (username, password) = decode_auth(server_creds["auth"]) + username, password = decode_auth(server_creds["auth"]) return {"Username": username, "Secret": password}