From 4e796ab8657218e734578e0b788dcd8788047ca8 Mon Sep 17 00:00:00 2001 From: Keurfon Luu Date: Tue, 9 Jan 2024 15:22:43 +0100 Subject: [PATCH] invoke format --- toughio/_run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toughio/_run.py b/toughio/_run.py index d079f854..841fdf23 100644 --- a/toughio/_run.py +++ b/toughio/_run.py @@ -226,7 +226,9 @@ def run( is_windows = platform.system().startswith("Win") if docker: - container_name = container_name if container_name else f"toughio_{secrets.token_hex(4)}" + container_name = ( + container_name if container_name else f"toughio_{secrets.token_hex(4)}" + ) if is_windows and os.getenv("ComSpec").endswith("cmd.exe"): cwd = '"%cd%"'