ament / ament_lint

Apache License 2.0
38 stars 107 forks source link

Try to find an flake8 config file in the local package #478

Open ahcorde opened 9 months ago

ahcorde commented 9 months ago

It will be great to be able to define my own ament_flake8.ini configuration file locally, instead of using the default one.

This PR propose a fix. When a ROS Python package is created there is a folder called test with a test_flake8.py file that launches the test. I propose to put there your own config (if you want)

Otherwise I need to modify the test_flake8.py I think this solution is cleaner.

Thoughts?

ahcorde commented 8 months ago

@audrow or @clalancette do you mind to review this one ?