-
Notifications
You must be signed in to change notification settings - Fork 2
White space config #3
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
White space config #3
Conversation
ebfe1e7 to
a737bce
Compare
|
thanks, first time I see some actual GitHub actions. Seems quite nice. Not sure what this action is supposed to test. I guess it'll fail if the formatting of a PR is bad? My feeling was to split this into the "white space fix" into 2 PRs: one that sets everything up, next one that actually ran |
exactly. Actions are great - lower overhead and less configuring that e.g. Travis. Also if you're very careful you can run GPU & MATLAB tests on your own machine :P
Doesn't make sense to me... people would indeed have to run |
|
P.S. we could also make the action commit the changes as a bot directly to the PR (so people won't even have to install pre-commit/clang-format themselves) but maybe that's a task for some other time. |
ok. should we/you rename the action then from |
ok, I see that it'd be terrible to have multiple people commit 1900 changed files! I'm still worried about the conflicts though. some of our PRs are very big (especially the TOF one). I guess I'm looking for a way that conflicts are only flagged up after running clang-format. That'd be easier if it's run first/during the merge. Not sure if this can be done. |
a737bce to
1fa827b
Compare
1fa827b to
f44c09f
Compare
|
just rebased on your modified If there are a couple of major PRs then those can be exceptions where you:
|
|
alternatively we could wait until after the big PRs are merged |
|
ok. I'll try this to merge locally first and see what happens, but it won't be straightaway. thanks! |
|
hi @casperdcl I'll merge this PR, but would you be able to remove the last commit (where you actually ran it)? we'll do this. I guess I could do it myself by force-pushing to your branch or so, but not 100% sure... thanks! |
f44c09f to
b950f56
Compare
|
updated (original branch https://github.com/casperdcl/STIR-1/tree/white-space-config-orig) |
|
thanks! |

.clang-formatfiles regexclang-format(6.0) and commit as bot user