todas as opções
bookworm  ] [  trixie  ] [  sid  ]
[ Fonte: flake8-blind-except  ]

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

Links para python3-flake8-blind-except

Screenshot

Recursos de Debian:

Baixe o pacote-fonte flake8-blind-except:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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.

Outros pacotes relacionados a python3-flake8-blind-except

  • depende
  • recomenda
  • sugere
  • melhora

Download de python3-flake8-blind-except

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 4.9 kB24.0 kB [lista de arquivos]