Conversation
|
@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 #516 -
Add 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-revs1 -
Add
pre-commit.ymlworkflow with theuncrustifyhook enabled2.
Footnotes
4f106fe to
ecf23c1
Compare
ecf23c1 to
18cfb6a
Compare
|
@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 danmar/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?
|
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.