3 ms·
I think the solution is to rely on hanging indents rather than trying to align with the column of the previous opening parenthesis, bracket, etc. So instead of
by u801e 6y ago
I think the solution is to rely on hanging indents rather than trying to align with the column of the previous opening parenthesis, bracket, etc.
So instead of this:
def some_method(param1
param2):
statement1
you do this:
def some_method(
param1,
param2):
statement1
Hanging indents work regardless of whether you use tabs or spaces for indentation.