[ament_uncrustify] Fix file exclusion behavior#334
Conversation
audrow
left a comment
There was a problem hiding this comment.
This looks good to me so far. Would you mind adding some tests?
|
Will do! I'll take it out of draft once that's done. Thanks for the initial review. |
711bb41 to
7da4a7a
Compare
7da4a7a to
b57874a
Compare
Signed-off-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu>
|
@audrow I've added test cases for the desired file exclusion behavior and rebased on the master branch. There is now parity in the search behavior seen between (at least) |
Signed-off-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu>
|
CI: |
audrow
left a comment
There was a problem hiding this comment.
Looks good with green CI.
|
@audrow do you know what the test failure is about? I remember coming across this on another PR in this repository but not sure if it's related. |
|
Thanks for the PR, @aprotyas! |
* [ament_uncrustify] Fix file exclusion behavior This PR fixes the file exclusion behavior reported in ament#326. Specifically, the exclusion list is matched against files/directories as the search path is traversed. Tries to maintain consistency with ament#327. Signed-off-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu> * [ament_uncrustify] Add file exclusion tests Signed-off-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu> * [ament_uncrustify] Remove erroneous pytest marker Signed-off-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu>
This PR fixes the file exclusion behavior reported in #326.
Specifically, the exclusion list is matched against
files/directories as the search path is traversed.
Tries to maintain consistency with #327.
Signed-off-by: Abrar Rahman Protyasha aprotyas@u.rochester.edu