unreachable / W0101#
Used when there is some code behind a "return" or "raise" statement, which will never be accessed.
def say_hello(): return True print("Hello World!, Outside function.") # [unreachable]
def say_hello(): print("Hello World!, Inside function.") return True
Created by the basic checker.