-
-
Notifications
You must be signed in to change notification settings - Fork 46.5k
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
style: use prettier to format toml and yaml files #11237
Conversation
Let's have machines do this kind of editing so humans can focus on bigger tasks... Let's add
|
I support this idea, although the
I can have a look at this problem. However, it seems to be out of scope for this PR. |
Linter != formatter. Let’s focus on prettier, not yamllint. |
bc7a126
to
3dc5926
Compare
@cclauss Please let me know when you are done... |
Can you The problem with running this on GitHub Actions is that it does not allow changes to be made to GHA files. |
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.
Nice!
ruff.yml
* style: use proper indentation in `ruff.yml` * chore: run `prettier` on `yml` files * Update .pre-commit-config.yaml * Update .pre-commit-config.yaml * Update .pre-commit-config.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update .pre-commit-config.yaml * chore: run prettier on workflow files --------- Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Describe your change:
ruff.yml
has some bad indentation. This PR fixes it.Checklist: