Open char101 opened 2 years ago
Looks like I have the opposite issue: https://github.com/google/yapf/issues/843 ; maybe you find something helpful in this ticket and its links.
It's only when CONTINUATION_INDENT_WIDTH = 4
):
DEDENT_CLOSING_BRACKETS = true
solved it in function definition but not in function call
mark
Hi, is this supported by yapf configuration if I want to prevent the function parameters from being indented twice in this case:
Output:
Desired output:
I can get the output that I want by changing https://github.com/google/yapf/blob/main/yapf/yapflib/format_decision_state.py#L980 from
to
But I wonder if this is configurable.