Skip to content

Conversation

shap-po
Copy link

@shap-po shap-po commented Aug 5, 2025

This closes #305

I changed the way _format_operator_chain_based_expression_to_multiple_lines wraps long expressions in parentheses.

To achieve this, I pass around is_inside_list in the ExpressionContext way back from the _format_comma_separated_list_to_multiple_lines. Unfortunately, that means that _format_contextless_comma_separated_list_to_multiple_lines and _format_contextless_operator_chain_based_expression_to_multiple_lines are now not truly contextless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant