bad-indentation / W0311#
Message emitted:
Bad indentation. Found %s %s, expected %s
Description:
Used when an unexpected number of indentation's tabulations or spaces has been found.
Correct code:
if input():
print('yes')
Problematic code:
if input():
print('yes') # [bad-indentation]
Additional details:
The option --indent-string
can be used to set the indentation unit for this check.
Created by the format checker.