bare-except / W0702#

Message emitted:

No exception type(s) specified

Description:

Used when an except clause doesn't specify exceptions type to catch.

Problematic code:

try:
    1 / 0
except:  # [bare-except]
    pass

Correct code:

try:
    1 / 0
except ZeroDivisionError:
    pass

Created by the exceptions checker.