Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use non-blind except for open() #307

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

christophebedard
Copy link
Contributor

Follow-up to #304

CI uses flake8-blind-except==0.1.1: https://ci.ros2.org/job/ci_linux/13949/consoleFull#console-section-9. However, using the newest version (0.2.0) leads to a flake8 error:

./ament_copyright/licenses.py:40:1: B902 blind except Exception: statement

I thought I'd propose this change for others like me who build from source and often use the latest versions.

Relates to #292 a bit

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Copy link
Contributor

@audrow audrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good change to me.

@audrow
Copy link
Contributor

audrow commented Mar 16, 2021

Just to make sure:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@audrow audrow self-assigned this Mar 16, 2021
@audrow audrow merged commit 7fbeae2 into ament:master Mar 17, 2021
@audrow
Copy link
Contributor

audrow commented Mar 17, 2021

Thanks for the PR, @christophebedard!

@christophebedard christophebedard deleted the use-non-blind-except branch March 17, 2021 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants