You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
True. This style of indentation is not required though. In my experience, either way works. This is the default created by ruamel.yaml.
I do intend to look into changing it, mainly because my yaml linter in VSCode uses the indentation level you proffer. There have been some big changes to ruamel.yaml recently which I may have to work through while figuring out how to set a different default indentation level.
However, this uses the new ruamel API. I've tried switching to the new API but so far it has ended up printing all sorts of "superfluous" code in the YAML which is not helpful or pretty. It's obviously something that needs to be addressed as the old API is deprecated, either by figuring it out or switching back to PyYAML.
At the moment, strings within an array have the same indent level:
Current behavior:
Expected behavior:
The text was updated successfully, but these errors were encountered: