| 1 |
Source: flake8-blind-except |
| 2 |
Maintainer: Debian Python Team <[email protected]> |
| 3 |
Uploaders: Jose Luis Rivero <[email protected]> |
| 4 |
Section: python |
| 5 |
Priority: optional |
| 6 |
Build-Depends: debhelper-compat (= 13), |
| 7 |
dh-sequence-python3, |
| 8 |
python3-all, |
| 9 |
python3-flake8, |
| 10 |
python3-setuptools |
| 11 |
Standards-Version: 4.6.0 |
| 12 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/flake8-blind-except |
| 13 |
Vcs-Git: https://salsa.debian.org/python-team/packages/flake8-blind-except.git |
| 14 |
Rules-Requires-Root: no |
| 15 |
Homepage: https://github.com/elijahandrews/flake8-blind-except |
| 16 |
|
| 17 |
Package: python3-flake8-blind-except |
| 18 |
Architecture: all |
| 19 |
Depends: ${misc:Depends}, |
| 20 |
${python3:Depends} |
| 21 |
Enhances: flake8 |
| 22 |
Description: flake8 extension that checks for blind, catch-all except |
| 23 |
A flake8 extension that checks for blind, catch-all except: and except |
| 24 |
Exception: statements. |
| 25 |
. |
| 26 |
As of pycodestyle 2.1.0, "E722 do not use bare except, specify exception |
| 27 |
instead" is built-in. However, bare Exception and BaseException are still |
| 28 |
allowed. This extension flags them as B902. |
| 29 |
. |
| 30 |
Using except without explicitly specifying which exceptions to catch is |
| 31 |
generally considered bad practice, since it catches system signals like SIGINT. |
| 32 |
You probably want to handle system interrupts differently than exceptions |
| 33 |
occurring in your code. |