ros-infrastructure / rosdistro

Tools to work with catkinized rosdistro files
Other
7 stars 40 forks source link

Clean up script entry points #185

Closed cottsay closed 4 months ago

cottsay commented 4 months ago

Two factors here:

  1. Ensure that each script has an explicit main() function
  2. Ensure that the return value of main() is the return value of the program when the script is invoked directly.
cottsay commented 4 months ago

I'm seeing a bit of a mix of single and double quotes, but that's probably outside of the scope of this PR.

There's actually no flake8 check on this repo at all. There are a LOT of deviations and inconsistencies...