Closed mjbogusz closed 2 years ago
I'm not sure how to interpret this.
I see some minor whitespace changes and few return;
-s removed, but as they're printed without context I'm not sure whether that's a good thing or not.
I'm assuming that the CI uses this config, right? I think some minor tweaks to the config would remove most of the differences that popped out.
I see some minor whitespace changes and few return;-s removed, but as they're printed without context I'm not sure whether that's a good thing or not.
Consider reproducing locally a representative subset of these new issues (two cases, it seems) and posting the diffs in a gist. Then we can see if/how we should change our default config.
I'm assuming that the CI uses this config, right?
Default config, correct.
I've rebased this PR and updated the bundled uncrustify to the latest upstream, 0.73.0.
I've also pushed a PR to ament_lint
with related configuration changes: https://github.com/ament/ament_lint/pull/319
I've tested this with few packages that were previously failing in CI and while it reports some problems, I think they might be legitimate, like double-indented lambda bodies - let me know how should I approach this.
I've tested this with few packages that were previously failing in CI and while it reports some problems, I think they might be legitimate, like double-indented lambda bodies - let me know how should I approach this.
@mjbogusz since we cannot break CI for all affected downstream packages, we'll have to update them all before merging this. If the linter tests pass after applying the necessary fixes while using the current uncrustify
version, we can do it incrementally. Otherwise, all PRs will have to be merged at once.
Closing this in favor of #27. The reason that is upgrading to uncrustify 0.72 (and not a later version) is because Ubuntu 22.04 is currently using 0.72.
Closing this in favor of #27. The reason that is upgrading to uncrustify 0.72 (and not a later version) is because Ubuntu 22.04 is currently using 0.72.
Seems reasonable - there were many bugfixes and improvements since 0.69 that are present in 0.72, while the two newer versions are mostly minor features and configuration splits (e.g. separately configurable sub-cases of a configuration flag).
As the title states, update to the latest upstream release.
Ref #13