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

fix: eliminate bare except: #2350

Merged
merged 1 commit into from
Apr 12, 2023

Commits on Apr 11, 2023

  1. fix: eliminate bare except:

    Replace bare `except:` with `except Exception`, there are some cases where it
    can be narrowed further, but this is already an improvement over the current
    situation.
    
    This is somewhat pursuant to eliminating
    [flakeheaven](https://github.com/flakeheaven/flakeheaven), as it no longer
    supports the latest version of flake8
    [[ref](flakeheaven/flakeheaven#132)]. But it also is
    just the right thing to do as bare exceptions can cause problems.
    aucampia committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    ae54dbf View commit details
    Browse the repository at this point in the history