Uh oh!
There was an error while loading. Please reload this page.
Switch to uncrustify - #517
Conversation
danmar
commented
Aug 28, 2025
@jcfr feel free to review |
jcfr
left a comment
There was a problem hiding this comment.
Thanks for working on this:
Considering cherry picking commit titled
chore: Remove obsolete runastyle scriptsfrom #516Add a second commit
chore: Add settings corresponding to uncrustify 0.80.1 Introduce settings based of similar settings copied from danmar/cppcheck@b4f07cdbb.Add a third commit:
style: Consistent formatting of C++ sources using uncrustify This commit updates the sources file based on the settings introduced in previous commit.Either in the context of this pull request or in a follow-up one, add
.git-blame-ignore-revs1Add
pre-commit.ymlworkflow with theuncrustifyhook enabled2.
Footnotes
Uh oh!
There was an error while loading. Please reload this page.
4f106fe to
ecf23c1Compareecf23c1 to
18cfb6aCompareUh oh!
There was an error while loading. Please reload this page.
danmar
commented
Aug 28, 2025
@jcfr thanks for the reviews. there was some mess in my first commit to cleanup as you saw. but I hope it didn't add any extra changes now. |
| # - you can put uncrustify in your PATH | ||
| # - you can create an environment variable UNCRUSTIFY that has the full path of the binary | ||
| UNCRUSTIFY_VERSION="0.72.0" |
There was a problem hiding this comment.
This is likely incorrect and inconsistent, inspecting cppcheck-opensource/cppcheck@3726ace seems to indicate that the version should be 0.80.1
There was a problem hiding this comment.
I agree. I copied the file directly from cppcheck main though. :-( maybe we need to update the script both in cppcheck and simplecpp..
There was a problem hiding this comment.
maybe we need to update the script both in cppcheck and simplecpp..
would you have time to look at that maybe?
jcfr
commented
Aug 28, 2025
The commit should probably have been split as suggested in #517 (review). Indeed, referencing 18cfb6a in While this is not a critical in the current situation, in the future, I suggest to avoid mixing changes. |
No description provided.