Closed caioaamaral closed 1 month ago
I haven't tried it, but I believe you should be able to use ament_clang_tidy
. You should be able to use the arguments
input to provide parameters for the ament_*
linter: https://github.com/ros-tooling/action-ros-lint/blob/0bab0b843f8e38cb399e43bb77c6b6fbf49281dc/action.yml#L12-L14 It's added to the command here: https://github.com/ros-tooling/action-ros-lint/blob/0bab0b843f8e38cb399e43bb77c6b6fbf49281dc/src/action-ros-lint.ts#L60
I found an example with linter: clang-tidy
in the wild: https://github.com/gavanderhoorn/qml_ros2_plugin/blob/7f445a949e9fe1051450f2fea60204a71f32a430/.github/workflows/ci.yml#L53.
indeed! Sorry for the noise
Description
Would be good having support for
ament_clang_tidy
to enforce ros2 c/cpp code styleRelated Issues
N/A
Completion Criteria
ament_clang_tidy
arguments.clang-tidy
Implementation Notes / Suggestions
requires an update in https://github.com/ros-tooling/action-ros-lint/blob/0bab0b843f8e38cb399e43bb77c6b6fbf49281dc/src/action-ros-lint.ts#L53 to handle
ament_clang_tidy
params