pylint-errors

E0116 (continue-in-finally)

:x: Problematic code:

while True:
    try:
        pass
    finally:
        continue

:heavy_check_mark: Correct code:

while True:
    try:
        pass
    except Exception:
        pass
    else:
        continue

Rationale:

Emitted when the continue keyword is found inside a finally clause, which is a SyntaxError.