Best demonstrated with some examples:
Example 1 (raises E121):
{
('abc'
'def'): (
'abc'),
}
Example 2 (raises E121):
I've done some other tests and it seems to only happen for hanging and not visual indent [Example 3] and with surrounding parenthesis present [Example 4].
Example 3: (Okay):
('abc'
'def') = ('abc'
'def')
Example 4: (Okay):
{
'abc'
'def': (
'abc'),
}
Best demonstrated with some examples:
Example 1 (raises E121):
Example 2 (raises E121):
I've done some other tests and it seems to only happen for hanging and not visual indent [Example 3] and with surrounding parenthesis present [Example 4].
Example 3: (Okay):
Example 4: (Okay):