Skip to content

fix: replace 108 bare except clauses with except Exception#342

Open
haosenwang1018 wants to merge 1 commit intoclips:masterfrom
haosenwang1018:fix/bare-excepts
Open

fix: replace 108 bare except clauses with except Exception#342
haosenwang1018 wants to merge 1 commit intoclips:masterfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018
Copy link

Replace bare except: clauses with except Exception: for PEP 8 compliance. Bare except catches all exceptions including SystemExit, KeyboardInterrupt, and GeneratorExit, which is rarely intended.

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.

1 participant