-
Notifications
You must be signed in to change notification settings - Fork 24
style: yamlfmt #239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
style: yamlfmt #239
Conversation
@@ -24,3 +24,7 @@ repos: | |||
rev: 'v0.0.269' | |||
hooks: | |||
- id: ruff | |||
- repo: https://github.com/google/yamlfmt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that the actual lines of code changed are here - this uses a pinned version of the yamlfmt
pre-commit hook provided by Google.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only looked at the .pre-commit-config.yaml
changes so far and like the idea of adding yamlfmt. One of us should manually review the automatically updates applied to the .yml/.yaml files before merging to make sure all of them look okay.
Since reviewing all of these YAML files is quite a tedious task, I've removed |
Restricted |
Closes #48. this uses the yamlfmt default config, which uses 2 spaces instead of four - a convention that seems to be recommended.
[If any style opinion that deviates from yamlfmt's default is preferred I will immediately add it. I do not want bikeshedding.]