fkie/catkin_lint

Introduce a way to ignore specific errors

koenlek opened this issue · 2 comments

We want to use catkin lint as a hard requirement for CI to pass. As explained here, catkin lint has its limitations and output won't be always correct.

It would be good to be able to add a way to define exceptions for certain specific errors, like other linters support.

For example by adding a .catkinlint_ignore file (recursively detected, like .gitignore) that defines exceptions for a specific package. Or by adding comments like in the CMakeLists.txt or package.xml `

add_library(ANPPmsg26         STATIC src/ANPPmsg26.cpp) # CATKIN_LINT_DISABLE_INSTALL_CHECK

This feature has been implemented for quite some time. See:
http://fkie.github.io/catkin_lint/messages/

Thanks a lot! I overlooked that. I tried searching for it, but not hard enough apparently.