-
Notifications
You must be signed in to change notification settings - Fork 107
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
[ament_uncrustify] Fix file exclusion behavior #334
[ament_uncrustify] Fix file exclusion behavior #334
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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