pylint-errors

W0703 (broad-except)

:x: Problematic code:

try:
    1 / 0
except Exception:
    pass

:heavy_check_mark: Correct code:

try:
    1 / 0
except ZeroDivisionError:
    pass

Rationale:

Used when an except catches a too general exception, possibly burying unrelated errors.