How to configure ament-lint?

asked 2021-05-18 01:42:40 -0600

Rufus gravatar image

For example, when I create a python node, it automatically generates the following files in the test/ directory

test_copyright.py  test_flake8.py  test_pep257.py

How do I configure these linters / checkers, e.g. to ignore rule E203? Is there somewhere I can put a ament_flake8.ini or a setup.cfg that these linters will automatically load or am I expected to modify the test_flake8.py directly?

Similarly, for C++ packages, how do I configure the cppcheck and the likes?

edit retag flag offensive close merge delete