Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix indentation of assigned pipelines - review #229

Closed
wants to merge 9 commits into from

Conversation

DavisVaughan
Copy link
Collaborator

@DavisVaughan DavisVaughan commented Feb 18, 2025

Merges into #227

@lionel- mostly just tweaking some consistency things I noticed, feel free to cherry pick

The biggest tweak is the removal of rhs_alignment(), which I think we don't need? I'm almost certain we can just inline LeftAligned, because if we:

  • Are in binary assignment
  • And we have a binary expression on the RHS

Then we can just unconditionally set LeftAligned and as we circle back around into fmt_fields() for RBinaryExpression, the is_chainable_binary_operator() check that we already have in fmt_fields() handles whether or not we use LeftAligned at all.

Base automatically changed from feature/assigned-chainable to main February 19, 2025 08:26
@lionel- lionel- closed this Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants