pendulum-chain / pendulum

GNU General Public License v3.0
43 stars 13 forks source link

Add 'taplo' to the CI workflow to check the formatting of Cargo.toml files #497

Open ebma opened 2 weeks ago

ebma commented 2 weeks ago

Context

There is a tool called taplo that can check and format TOML files. Since different IDEs by default have different rules for formatting TOML files, we want to streamline the formatting by using this tool.

TODO

There is no precommit hook for the pendulum repository yet and it's probably good enough to check for the formatting in the CI and leave it to the developers to run taplo fmt locally before creating the PR.

ebma commented 2 weeks ago

@pendulum-chain/product similar to #490, this is a nice-to-have addition improving the developer experience.

prayagd commented 1 week ago

Hey team! Please add your planning poker estimate with Zenhub @b-yap @ebma @gianfra-t @TorstenStueber