Query module EmptyExcept

name
Empty except
description
Except doesn’t do anything and has no comment
kind
problem
tags
reliability maintainability external/cwe/cwe-390
problem.severity
recommendation
sub-severity
high
precision
high
id
py/empty-except

Imports

Predicates

attribute_access
empty_except
encode_decode
focussed_handler

Holds if this exception handler is sufficiently small in scope to not need a comment as to what it is doing.

no_comment
no_else
non_local_control_flow
small_handler
subscript
try_has_normal_exit
try_return