From 7b451b25dea7eb43c6e96b5e918404870cfd0fe9 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 16 Jul 2024 00:25:26 +0200 Subject: [PATCH] Run ruff format (MR 2357) --- pmb/helpers/run_core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pmb/helpers/run_core.py b/pmb/helpers/run_core.py index 33cd5ded..04479c54 100644 --- a/pmb/helpers/run_core.py +++ b/pmb/helpers/run_core.py @@ -21,9 +21,7 @@ import pmb.helpers.run called by core(). """ -def flat_cmd( - cmds: Sequence[Sequence[PathString]], working_dir: Path | None = None, env: Env = {} -): +def flat_cmd(cmds: Sequence[Sequence[PathString]], working_dir: Path | None = None, env: Env = {}): """Convert a shell command passed as list into a flat shell string with proper escaping. :param cmds: list of commands as list, e.g. ["echo", "string with spaces"]