Format Python code using pre-commit hook

This commit is contained in:
Sid Golestaneh 2025-02-26 20:21:04 -08:00
parent d5a58163f4
commit fe9454963b

View file

@ -11,7 +11,10 @@ log = getLogger(__name__)
def docker_container_status(container: str) -> str:
result = subprocess.run(
["docker", "inspect", "--type=container", container], capture_output=True, text=True, check=False
["docker", "inspect", "--type=container", container],
capture_output=True,
text=True,
check=False,
)
if result.returncode != 0:
return "not found"