Skip to content

replace bare except clauses with except Exception#716

Merged
JoeZiminski merged 1 commit into
neuroinformatics-unit:mainfrom
knQzx:fix/bare-except-clauses
May 23, 2026
Merged

replace bare except clauses with except Exception#716
JoeZiminski merged 1 commit into
neuroinformatics-unit:mainfrom
knQzx:fix/bare-except-clauses

Conversation

@knQzx

@knQzx knQzx commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

narrowed down a bare except: in validation.py and an except BaseException: in setup_ssh.py to except Exception so they don't accidentally swallow things like KeyboardInterrupt.

@JoeZiminski JoeZiminski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @knQzx!

@JoeZiminski JoeZiminski merged commit 65c0960 into neuroinformatics-unit:main May 23, 2026
12 checks passed
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.

2 participants