Skip to content

Add a yaml autoformatter and some github action testing#1

Merged
emersonknapp merged 1 commit intomainfrom
emerson/yaml-formatter
Apr 20, 2026
Merged

Add a yaml autoformatter and some github action testing#1
emersonknapp merged 1 commit intomainfrom
emerson/yaml-formatter

Conversation

@emersonknapp
Copy link
Copy Markdown
Member

@emersonknapp emersonknapp commented Apr 17, 2026

Closes polymathrobotics/polymath_core#34

Much of the implementation is from Claude, but the tests are good.

Runs yamlfix formatting, which is yamllint-compliant, with the one special addition of preserving matrix formatting of sequences - which is a really common use case in ROS parameter files.

Haven't been willing to turn on YAML linter for most of our repos because without autoformatting it's too much friction to fix all the issues.

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp emersonknapp merged commit 12e7176 into main Apr 20, 2026
2 checks passed
@emersonknapp emersonknapp deleted the emerson/yaml-formatter branch April 20, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant