Continuation line under-indented for hanging indent (E121)
A line is less indented than it should be for hanging indents.
Anti-pattern
In the first example, the keys of this dict
are only indented with 3 spaces. They should be indented with 4 spaces.
result = {
'key1': 'value',
'key2': 'value',
}
Best practice
result = {
'key1': 'value',
'key2': 'value',
}
Anti-pattern
In this example, the second line is only indented with 2 spaces. It should be indented with 4 spaces.
print("Python", (
"Rules"))
Best practice
print("Python", (
"Rules"))