RTEMS | spec/build: reformat all yaml files (!1122)

Amar Takhar (@amar) gitlab at rtems.org
Fri Mar 20 16:45:54 UTC 2026




Amar Takhar commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1122#note_146557


Thanks I didn't catch that, that's really dumb.  VScode has real issues with non indented lists in YAML. `pyyaml` can do it but you have to feed in a custom  formatter and set `increase_indent`.

Here are some guidelines from two massive projects:

* https://developers.home-assistant.io/docs/documenting/yaml-style-guide/#block-style-sequences
* https://docs.ansible.com/projects/ansible/latest/reference_appendices/YAMLSyntax.html

These are the ones I usually follow because they get tested extremely well and there is a lot of editor, hand and visual editing.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1122#note_146557
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260320/f9389a2a/attachment-0001.htm>


More information about the bugs mailing list