Skip to content
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

Add flake8 linter ignore support #424

Merged

Conversation

RFRIEDM-Trimble
Copy link
Contributor

@RFRIEDM-Trimble RFRIEDM-Trimble commented Nov 16, 2022

This solves #423

* Support of AMENT_LINT_AUTO_FILE_EXCLUDE is required for all packages
in ament_lint_auto
* Add a more practical usage example with globbing

Signed-off-by: Ryan Friedman <ryan_friedman@trimble.com>
@RFRIEDM-Trimble
Copy link
Contributor Author

My bad. Missed this when I commented out some code right before push. Will fix.
2: cmake/ament_cmake_flake8_lint_hook.cmake:18: Line ends in whitespace [whitespace/eol]

Signed-off-by: Ryan Friedman <ryan_friedman@trimble.com>
@RFRIEDM-Trimble
Copy link
Contributor Author

Fixed the white space, tests should pass.

Copy link
Contributor

@aprotyas aprotyas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small modification requested but otherwise LGTM

ament_cmake_flake8/cmake/ament_flake8.cmake Show resolved Hide resolved
@aprotyas
Copy link
Contributor

Can someone run CI?

Copy link
Contributor

@aprotyas aprotyas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RFRIEDM-Trimble approving preemptively, mind fixing the EOL whitespace issue and amending the commit message to satisfy DCO?

@RFRIEDM-Trimble
Copy link
Contributor Author

@RFRIEDM-Trimble approving preemptively, mind fixing the EOL whitespace issue and amending the commit message to satisfy DCO?

Done, the whitespace was already fixed btw. I didn't realize accepting change suggestions in the UI that it doesn't sign it for me. Sorry for troubles.

Co-authored-by: Abrar Rahman Protyasha <aprotyas@u.rochester.edu>
Signed-off-by: Ryan Friedman <ryan_friedman@trimble.com>
@mjeronimo
Copy link
Contributor

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants