Pattern: Missing indentation for closing bracket
Issue: -
A closing bracket is missing indentation. This error only occurs if the --hang-closing
flag is used, switching the default behavior of closing brackets so that they require hanging indents.
Note: This is not an anti-pattern by default. This only occurs if the --hang-closing
flag is used.
my_list = [
1, 2, 3,
4, 5, 6,
]
my_list = [
1, 2, 3,
4, 5, 6,
]