Format entire repository with Ruff and Clang-Format#1110
Format entire repository with Ruff and Clang-Format#1110ReeceHumphreys wants to merge 6 commits intodevelopfrom
Conversation
|
I'd like to review line by line, please allow for 1-2 years for review thanks. Just joking. I see the formatter was applied to all files, including things like |
|
I don't think we want to do this to the full repo. What is the reason versus doing this module by module as we edit it? This will create a TON of potential conflicts with people who pull or fork our repo? |
|
This was just from running the existing This is not a hard PR to do as it was really just running the tool against the repo and updating For people who want to rebase our repo it actually is a bit easier than one may think. Because everything is handled via the |
Yeh I agree, I think this is because |
|
Will move this to a draft will in person discussions are pending |
2f3230a to
e363409
Compare
Description
The entire repo will now adhere to these formatters making our code much more consistent. The pre commit tool runs in CI/CD so no new improperly formatted code should get into the repo moving forward too.
Verification
It's basically impossible to manually check all the code given how many files get changed. CI/CD should catch anything and formatting changes should not be impacting any logic.
@Mark2000 any rules you changed for
bsk-rlwith Ruff? I ideally like to keep formatters as close to default as possible.Documentation
N/A
Future work
N/A
Closes #1109