Fedora Packages

python3-flake8-blind-except Subpackage of python-flake8-blind-except

A flake8 extension that checks for catch-all except statements

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.

Releases Overview

Release Stable Testing
Fedora Rawhide 0.2.1-4.fc42 -
Fedora 42 0.2.1-4.fc42 -
Fedora 41 0.2.1-3.fc41 -
Fedora 40 0.2.1-2.fc40 -
Fedora EPEL 9 0.2.1-2.el9 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at python-flake8-blind-except dash maintainers at fedoraproject dot org.



Sources on Pagure