I want to dump a Python object to a YAML file like this:
a: 5
b: 6
c: 7
d: [ 1,2,3,4]
but NOT
a: 5
b: 6
c: 7
d
- 1
- 2
- 3
- 4
image d was a massive list, the output gets messy for humans to see.
I use: default_flow_style=False
but this uses the new line list item format.
I already use a customer dumper to stop anchors.