ros-infrastructure / catkin_pkg

Standalone Python library for the catkin build system.
https://github.com/ros/catkin
Other
47 stars 89 forks source link

Address flake8 blind Exception errors. #312

Closed nuclearsandwich closed 2 years ago

nuclearsandwich commented 2 years ago

Rebase of #302.

Update six try/except blocks to catch specific and expected errors. The release of flake8-blind-except v0.2.0 on1/7/2021 (https://github.com/elijahandrews/flake8-blind-except/releases/tag/v0.2.0) caused flake8 build errors on these blocks.

Also add three tests for improperly formatted package XML.

Signed-off-by: Sid Faber sid.faber@canonical.com

nuclearsandwich commented 2 years ago

Merged https://github.com/ros-infrastructure/catkin_pkg/pull/302