-
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_cmake_flake8 ignores value of AMENT_LINT_AUTO_FILE_EXCLUDE #423
Comments
@RFRIEDM-Trimble when I was writing #386 I only updated the CMake hooks that actually had file exclusion provisions in place. It looks like Do you mind adding that support? Check out some of the other packages for how it's done, it should be relatively trivial and I can review the PR you submit for it. General exclusion can be achieved like so: ament_lint/ament_cmake_cpplint/cmake/ament_cpplint.cmake Lines 49 to 51 in d17e975
Exclusion through the
|
Awesome, good to know I wasn't missing anything major; seems pretty minor. Yep, I'm happy to contribute a change. Do you think it's a good idea to clarify for the Feel free to assign this issue to me, I'll get a fix in. |
This can be closer since the PR is merged. Well, since it's a bugfix, can we backport it to humble? On humble, the docs disagree with the linter behavior which is why one would assume it would work. |
Any chance for this PR (#424) to be backport to humble? |
Please consider backporting. It was my intention doing the original work that it would be backported. I've been moving to |
When I use
ament_lint_auto
and want to exclude certain files, only a subset of the linters obey that variableAMENT_LINT_AUTO_FILE_EXCLUDE
.This issue is specific to
ament_cmake_flake8
. If you take a look at #386, you can see exclude logic was never added to it.The text was updated successfully, but these errors were encountered: