all options
bookworm  ] [  trixie  ] [  sid  ]
[ Source: flake8-blind-except  ]

Package: python3-flake8-blind-except (0.2.1-1)

Links for python3-flake8-blind-except

Screenshot

Debian Resources:

Download Source Package flake8-blind-except:

Maintainers:

External Resources:

Similar packages:

flake8 extension that checks for blind, catch-all except

A flake8 extension that checks for blind, catch-all except: and except Exception: statements.

As of pycodestyle 2.1.0, "E722 do not use bare except, specify exception instead" is built-in. However, bare Exception and BaseException are still allowed. This extension flags them as B902.

Using except without explicitly specifying which exceptions to catch is generally considered bad practice, since it catches system signals like SIGINT. You probably want to handle system interrupts differently than exceptions occurring in your code.

Other Packages Related to python3-flake8-blind-except

  • depends
  • recommends
  • suggests
  • enhances

Download python3-flake8-blind-except

Download for all available architectures
Architecture Package Size Installed Size Files
all 4.9 kB24.0 kB [list of files]