Skip to content

ci(toml): check toml fmt - #2504

Merged
blackmwk merged 2 commits into
apache:mainfrom
TwinklerG:twinklerg/toml-taplo-fmt
May 25, 2026
Merged

blackmwk merged 2 commits into
apache:mainfrom
TwinklerG:twinklerg/toml-taplo-fmt

Conversation

@TwinklerG

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

What changes are included in this PR?

Taplo fmt check is added in check-fmt target in Makefile.

Format all TOML files.

Are these changes tested?

Yes.

@blackmwk blackmwk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @TwinklerG for this pr. We already have taplo check in Makefile, and I think what's missing is just adding them in github workflow. I think we could add one step in check job of ci.yml

@TwinklerG

Copy link
Copy Markdown
Contributor Author

Thanks @TwinklerG for this pr. We already have taplo check in Makefile, and I think what's missing is just adding them in github workflow. I think we could add one step in check job of ci.yml

Thanks @blackmwk for comments. taplo check only checks the syntax, not the formatting. We need taplo fmt --check to ensure TOML files are formatted.

@blackmwk

Copy link
Copy Markdown
Contributor

Thanks @TwinklerG for this pr. We already have taplo check in Makefile, and I think what's missing is just adding them in github workflow. I think we could add one step in check job of ci.yml

Thanks @blackmwk for comments. taplo check only checks the syntax, not the formatting. We need taplo fmt --check to ensure TOML files are formatted.

Thanks for the explaination, in this case we should subsitute taplo fmt --check for the exisiting taplo check.

@TwinklerG

Copy link
Copy Markdown
Contributor Author

Thanks @TwinklerG for this pr. We already have taplo check in Makefile, and I think what's missing is just adding them in github workflow. I think we could add one step in check job of ci.yml

Thanks @blackmwk for comments. taplo check only checks the syntax, not the formatting. We need taplo fmt --check to ensure TOML files are formatted.

Thanks for the explaination, in this case we should subsitute taplo fmt --check for the exisiting taplo check.

Thanks for your guide. I have fixed it.

@blackmwk blackmwk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @TwinklerG for this fix! Looks much better now!

@blackmwk
blackmwk merged commit cc0ead3 into apache:main May 25, 2026
22 checks passed
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.

Add the toml taplo format check in the Makefile

2 participants