-
Notifications
You must be signed in to change notification settings - Fork 1
Labels
refactoringCode improvement without behavior changeCode improvement without behavior change
Description
Summary
In #667, we made the templates configurable with Jinja2 and validated the filled in YAML text with PyYaml. To later do operations like replace/insert after in steps, it would be useful for us to use PyYaml's loading feature. PyYaml reads YAML files as a nested dictionary, but by default, it does not create YAMLs fully compatible with GitHub. In this PR, we adapt the default Dumper to preserve the necessary changes.
Update -> due to its maturity and ease in options, we switched to ruamel-yaml. With PyYaml, we were having to define a lot.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
refactoringCode improvement without behavior changeCode improvement without behavior change