Skip to content

fix: replace 9 bare except clauses with except Exception#224

Open
haosenwang1018 wants to merge 1 commit into
taigaio:mainfrom
haosenwang1018:fix/bare-excepts
Open

fix: replace 9 bare except clauses with except Exception#224
haosenwang1018 wants to merge 1 commit into
taigaio:mainfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018

Copy link
Copy Markdown

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