-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Format C++ codebase #1984
Comments
Is anyone working on that right now? I'm happy having a look at it |
@JohanBertrand if you don't mind I'll take the CI part of this ticket, because we have an idea of how we want to do it. I'm working on this right now, I'll tag you in the PR if you'd like to review it Once the check is there, feel free to help out formatting the code base! We will format by small chunks and activate the CI per-module as we go. |
One issue that is arising, and is loosely related to nasa/fprime-tools#199
Some conversations about it here and here We are likely going to need to pick a version of the tool we want to use in CI, version that users will need to use if they need to pass CI. It is very inconvenient... but there doesn't seem to be a way around it. Let me know if you can think of anything else |
I think it's reasonable to fix the version of the formatter, like it is also done with the static analyser ( It might be good to select a version of I'm not sure which version to select however. Clang tidy/format 12 to 18 are easily available on ubuntu20.04 and 22.04 (I'm not sure about Mac OS), so any of those version would work for me. For |
devel
Feature Description
We are going to start formatting the entire C++ codebase and enforce the formatting through a CI check.
Plan
Subtasks
The text was updated successfully, but these errors were encountered: