全部搜尋項
bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: flake8-blind-except  ]

套件:python3-flake8-blind-except(0.2.1-1)

python3-flake8-blind-except 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 flake8-blind-except

維護小組:

外部的資源:

相似套件:

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 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-flake8-blind-except

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 4。9 kB24。0 kB [檔案列表]