套件: python3-flake8-blind-except (0.2.0-2)
python3-flake8-blind-except 的相關超連結
Trisquel 的資源:
下載原始碼套件 flake8-blind-except:
- [flake8-blind-except_0.2.0-2.dsc]
- [flake8-blind-except_0.2.0.orig.tar.gz]
- [flake8-blind-except_0.2.0-2.debian.tar.xz]
維護者:
Original Maintainer:
- Jose Luis Rivero
外部的資源:
- 主頁 [github.com]
相似套件:
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.
其他與 python3-flake8-blind-except 有關的套件
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-pkg-resources
- Package Discovery and Resource Access using pkg_resources
-
- enh: flake8
- code checker using pycodestyle and pyflakes