From 30e9cbc34baae46bf5421cb3c9a476623643602a Mon Sep 17 00:00:00 2001 From: Jesse Reichman <14865360+jreichman@users.noreply.github.com> Date: Thu, 4 Jan 2024 13:23:45 +1030 Subject: [PATCH] Type for call_args --- src/dfbar/dfbar.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dfbar/dfbar.py b/src/dfbar/dfbar.py index ea4a5a9..432e3e5 100755 --- a/src/dfbar/dfbar.py +++ b/src/dfbar/dfbar.py @@ -138,6 +138,9 @@ def process_docker_spec( # Perform a build of the Dockerfile build_cmd = f"docker build -f {dockerfile} -q {spec} {build_opts}" + + call_args: list[str] | str + if shell: call_args = build_cmd else: