Skip to content
Sections
>> Trisquel >> Paketler >> ecne (12.0LTS) >> python >> python3-flake8-blind-except
[  aramo  ] [  ecne  ] [  xolotl  ]
[ Kaynak: flake8-blind-except  ]

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

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 ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • enh: flake8
    code checker using pycodestyle and pyflakes

python3-flake8-blind-except indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 4,9 kB24 kB [dosya listesi]