Skip to content
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

Linter for clang-format #150

Merged
merged 5 commits into from
Oct 11, 2023
Merged

Linter for clang-format #150

merged 5 commits into from
Oct 11, 2023

Conversation

bsutherland333
Copy link
Contributor

To help maintain a more consistent coding style, I've added an automatic clang-format compliance check, similar to what is found in the rosflight_firmware repo. I've also tweaked the clang-format file slightly, to improve the readability of class initialization lists.

@bsutherland333
Copy link
Contributor Author

Before approving, review the formatting for the codebase and consider if there is anything you'd change. It would be great if we could decide on one coding standard for the whole ROSflight ecosystem. Notice that clang-format does not check naming conventions. You can see the current ROSflight naming conventions here (open to change): https://docs.rosflight.org/v2.0-beta.1/contributing/style-guide/

@bsutherland333 bsutherland333 merged commit add3d58 into main Oct 11, 2023
3 checks passed
@bsutherland333 bsutherland333 deleted the clang-format-tweaks branch October 11, 2023 19:45
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.

None yet

2 participants