-
Notifications
You must be signed in to change notification settings - Fork 80
Format entire repository with Ruff and Clang-Format #1110
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
base: develop
Are you sure you want to change the base?
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-rl
with Ruff? I ideally like to keep formatters as close to default as possible.Documentation
N/A
Future work
N/A
Closes #1109