pylint-errors

W0101 (unreachable)

:x: Problematic code:

def foo():
    return True
    print('Inside a function.')

:heavy_check_mark: Correct code:

def foo():
    print('Inside a function.')
    return True

Rationale:

Used when there is some code behind a return or raise statement, which will never be accessed.