Pattern: Unexpected indentation
Issue: -
A line is indented when it shouldn't be. Usually this will mean that multiple lines need to be indented at the same level.
In this example, the two print
statements do not have matching indentation.
def hello_world():
print('hello')
print('world')
def hello_world():
print('hello')
print('world')