Autonomous-Motorsports-Purdue / AMP_ASSv2

Reassembled, simpler, without move_base and loop closure issues
5 stars 1 forks source link

Close iss18: Implementation of automated code formatting #47

Closed alanssitis closed 2 years ago

alanssitis commented 2 years ago

What is a quick description of the change?

Implemented a code formatter using pre-commit. This will allow format checks to be done before committing, as well as a CI check in order to make sure PR's are formatted appropriately.

Is this fixing an issue?

close #18

Were any issues created as a result of this change?

No

Are there more details that are relevant?

Big thanks to this article for a very good and robust method for format checking. I would not have come up with this by myself.

Any additional comments?

None