metadata: set mapping indentation to 2

This commit is contained in:
linsui 2023-08-04 19:51:06 +08:00 committed by Hans-Christoph Steiner
parent c3331b1c58
commit 8188bb6bfa
6 changed files with 41 additions and 41 deletions

View File

@ -1267,7 +1267,7 @@ def write_yaml(mf, app):
_del_duplicated_NoSourceSince(app)
yaml_app = _app_to_yaml(app)
yaml = ruamel.yaml.YAML()
yaml.indent(mapping=4, sequence=4, offset=2)
yaml.indent(mapping=2, sequence=4, offset=2)
yaml.dump(yaml_app, stream=mf)