cvra / robot-software

CVRA monorepo - All software running on our bots lives here
MIT License
43 stars 21 forks source link

Enable automatic clang formatting workflow #247

Closed antoinealb closed 4 years ago

antoinealb commented 4 years ago

This pull request enables automatic clang formatting of our source code. this guarantees an uniform code formatting on our whole codebase, without anyone having to remember how its done.

The code formatter will pull any new branch, run clang-format on it and push back if there are any changes. Look at this branch for example.

msplr commented 4 years ago

Nice I think it's good to enforce code formatting. Another option would be to enforce it through the CI.