mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +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.
21 lines
131 B
Python
21 lines
131 B
Python
func(
|
|
x or y
|
|
)
|
|
|
|
_list = [
|
|
x or y
|
|
]
|
|
|
|
_tuple = (
|
|
x or y,
|
|
)
|
|
|
|
_set = {
|
|
x or y
|
|
}
|
|
|
|
_dict = {
|
|
'foo':
|
|
x or y
|
|
}
|