mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 14:54:36 +07:00
Regardless of option "Align multiline call arguments", alignment should
take place only when there is no, so called, "hanging indent" in function
call (see PEP-8). In accordance to behavior of 'pep8' utility several such
indents at the end of line are collapsed into one. E.g. fragment
'func([{\n' is considered as having "hanging indent" both for function
call, list and dict literals.
10 lines
121 B
Python
10 lines
121 B
Python
def test_function(*args):
|
|
pass
|
|
|
|
test_function({
|
|
'a': 'b',
|
|
}, 5)
|
|
|
|
test_function(1,
|
|
2,
|
|
3) |