mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
Use ContinuationIndent instead of ContinuationIndentWithoutFirst for its operands and operators instead. This way we don't over-indent a condition in parentheses when the opening bracket is on its own line. Also test that binary expressions in other positions are not over-indented thanks to the use of ContinuationWithoutFirst for them.
14 lines
157 B
Python
14 lines
157 B
Python
if (
|
|
1 < 2
|
|
and 3 == 3
|
|
and 4 != 6
|
|
):
|
|
print('True')
|
|
|
|
if (
|
|
1 < 2 and
|
|
3 == 3 and
|
|
4 != 6
|
|
):
|
|
print('True')
|