From 499791a2244f32911e66e06068f876fc6b3fd09f Mon Sep 17 00:00:00 2001 From: David Waroquiers Date: Thu, 18 Jul 2024 14:50:33 +0200 Subject: [PATCH] Explicitly setting default_flow_style to False. --- src/jobflow_remote/cli/formatting.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jobflow_remote/cli/formatting.py b/src/jobflow_remote/cli/formatting.py index 9dec90ec..6fa45db2 100644 --- a/src/jobflow_remote/cli/formatting.py +++ b/src/jobflow_remote/cli/formatting.py @@ -206,6 +206,8 @@ def get_exec_config_table(exec_config: dict[str, ExecutionConfig], verbosity: in from ruamel.yaml import YAML yaml = YAML() + # The following should already be the case but we keep it to be sure + yaml.default_flow_style = False if ec.modules: ec_modules_strio = io.StringIO() yaml.dump(ec.modules, ec_modules_strio)