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. #302

Closed SidFaber closed 2 years ago

SidFaber commented 3 years ago

Update six try/except blocks to catch specific and expected errors. The release of flake8-blind-except v0.2.0 on1/7/2021 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

CI for this PR was run in https://github.com/ros-infrastructure/catkin_pkg/pull/312 since maintainer pushes aren't enabled for this PR. However, I am going to merge this PR to retain the reference history to this conversation.