Name : python3-flake8-blind-except
| |
Version : 0.2.1
| Vendor : Fedora Project
|
Release : 3.fc41
| Date : 2024-07-20 04:06:15
|
Group : Unspecified
| Source RPM : python-flake8-blind-except-0.2.1-3.fc41.src.rpm
|
Size : 0.01 MB
| |
Packager : Fedora Project
| |
Summary : A flake8 extension that checks for catch-all except statements
|
Description :
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.
|
RPM found in directory: /vol/rzm3/linux-fedora-buffet/fedora-secondary/releases/test/41_Beta/Everything/ppc64le/os/Packages/p |