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

[draft] Add formatting infrastructure to the project (Sort Includes). #2524

Closed
wants to merge 3 commits into from

Conversation

danlapid
Copy link
Collaborator

@danlapid danlapid commented Aug 13, 2024

Similar to #2505 but adds sort includes.
Mainly opened to see if build/tests will fail when enabling this.

Add infrastructure to format c++ files with clang-format.
We require clang-format-18 because some of the clang-format options
we're using have only been released with clang-format 18.
General project llvm version required remains unchanged.
Added:
1. clang-format file matching internal one
2. formatting tool based on python for cross-platform
3. pre-commit and pre-push hooks for formatting validation
4. Lint CI action.
@danlapid danlapid requested review from a team as code owners August 13, 2024 13:09
@danlapid danlapid requested review from fhanau and jp4a50 August 13, 2024 13:09
@danlapid danlapid force-pushed the dlapid/add-cpp-formatting-sort-includes branch from e25679c to 8f7c9ec Compare August 13, 2024 13:14
@danlapid danlapid closed this Aug 13, 2024
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.

1 participant