yamlfix all yaml files; add yamlfix to the pre-commit hook#551
Merged
johnjasa merged 14 commits intoNatLabRockies:developfrom Feb 26, 2026
Merged
yamlfix all yaml files; add yamlfix to the pre-commit hook#551johnjasa merged 14 commits intoNatLabRockies:developfrom
johnjasa merged 14 commits intoNatLabRockies:developfrom
Conversation
RHammond2
requested changes
Feb 26, 2026
Collaborator
RHammond2
left a comment
There was a problem hiding this comment.
This is amazing, I wish I knew about this library before! Only one of these changes are required, but I would recommend all the changes suggested in the pyproject.toml.
Co-authored-by: Rob Hammond <13874373+RHammond2@users.noreply.github.com>
…into add_yamlfix
RHammond2
approved these changes
Feb 26, 2026
Collaborator
RHammond2
left a comment
There was a problem hiding this comment.
Looks good to me, thanks for finding this and applying it!
FYI, the quote_representation functionality to use double quotes is malfunctioning, so I've commented it out with a note to check back in on the open issue for it. Otherwise, it seems that a couple files were left with incomplete reformatting, so I've just gone and rerun the whole workflow so the pre-commit action doesn't block the PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
yamlfix all yaml files; add yamlfix to the pre-commit hook
We have pretty enforced standards for Python code and a codebase that heavily relies on
.yamlfile inputs.I suggest we lint-and-fix
.yamlfiles as part of ourpre-commithook usingyamlfix.It's an opinionated auto-formatter but does have some configurability.
Section 1: Type of Contribution
Section 2: Type of Reviewer Feedback Requested
My suggested actions for folks to assess this change:
Files Changedtab to get a feel for what yamlfix'd files look likeyamlfixhereSection 3: General PR Checklist
docs/files are up-to-date, or added when necessaryCHANGELOG.mdhas been updated to describe the changes made in this PRSection 3: Related Issues
Resolves #547 and then some
Section 4: Impacted Areas of the Software
All YAML files.