alla flaggor
bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: flake8-blind-except  ]

Paket: python3-flake8-blind-except (0.2.1-1)

Länkar för python3-flake8-blind-except

Screenshot

Debianresurser:

Hämta källkodspaketet flake8-blind-except:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Andra paket besläktade med python3-flake8-blind-except

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta python3-flake8-blind-except

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 4,9 kbyte24,0 kbyte [filförteckning]