Balík: python3-flake8-blind-except (0.2.1-1)
Odkazy pre python3-flake8-blind-except
Zdroje Debian:
Stiahnuť zdrojový balík flake8-blind-except:
- [flake8-blind-except_0.2.1-1.dsc]
- [flake8-blind-except_0.2.1.orig.tar.gz]
- [flake8-blind-except_0.2.1-1.debian.tar.xz]
Správcovia:
Externé zdroje:
- Domovská stránka [github.com]
Podobné balíky:
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.
Ostatné balíky súvisiace s balíkom python3-flake8-blind-except
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- enh: flake8
- kontrola kódu pomocou pycodestyle a pyflakes
Stiahnuť python3-flake8-blind-except
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 4.9 kB | 24.0 kB | [zoznam súborov] |