Skip to content

Added ament_lint_common#10

Closed
ahcorde wants to merge 1 commit intomasterfrom
ahcorde/test/linters
Closed

Added ament_lint_common#10
ahcorde wants to merge 1 commit intomasterfrom
ahcorde/test/linters

Conversation

@ahcorde
Copy link
Copy Markdown

@ahcorde ahcorde commented Apr 20, 2020

Added ament_lint_common

Signed-off-by: ahcorde ahcorde@gmail.com

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde added the enhancement New feature or request label Apr 20, 2020
@ahcorde ahcorde self-assigned this Apr 20, 2020
@ahcorde
Copy link
Copy Markdown
Author

ahcorde commented Apr 20, 2020

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

rosidl_generate_interfaces(${PROJECT_NAME}
"action/Fibonacci.action"
"srv/AddTwoInts.srv"
ADD_LINTER_TESTS
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why should the example interfaces be linted? I don't think we want to recommend this usage to users.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

example_interfaces is being used in some packages (for testing) who aspire to be a Quality Level 1 packages. That's why I decided to add the linters.

Feel free to close it if you consider that this change is not adding any value.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't see how the linters are relevant for any quality level?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Linters are defined as part of the quality level of a package https://github.com/ros-infrastructure/rep/blob/e421be8db3ef6fa65b29f9325ce635afdaecbf16/rep-2004.rst#iii-a

without linters, a package could not be more than quality 3, does make sense to test code with Level 1 or Level 2 with poor quality level package?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am pretty sure the REP assumes linters for code the package actually writes. Maybe that needs to be clarified in the REP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants