Pattern: Use of over-indented code
Issue: -
Code should have consistent indentation, typically spaced out in increments of two or four.
The print
function on the following line is indented at five spaces instead of four.
if True:
print('Hi there')
The code is now spaced out at four spaces instead of five.
if True:
print('Hi there')