Skip to content

Commit

Permalink
Explicitly setting default_flow_style to False.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwaroquiers authored and gpetretto committed Jul 20, 2024
1 parent 1cded9a commit 499791a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jobflow_remote/cli/formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 499791a

Please sign in to comment.