-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Format UnaryExpr
#5207
Format UnaryExpr
#5207
Conversation
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
3060df6
to
fe0dde8
Compare
+NOT_IMPLEMENTED_bool_op1 and NOT_IMPLEMENTED_bool_op2 | ||
+NOT_IMPLEMENTED_bool_op1 and NOT_IMPLEMENTED_bool_op2 | ||
+NOT_YET_IMPLEMENTED_ExprUnaryOp | ||
++really ** -confusing ** ~operator**-precedence |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks incorrect but is unrelated to unary. I'll take a look separately from this PR
5c30e73
to
516784c
Compare
fe0dde8
to
7f85748
Compare
trailing_comments(trailing_operator_comments).fmt(f)?; | ||
} | ||
|
||
if op.is_not() {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huh?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops. I'm surprised that clippy isn't complaining about this.
516784c
to
c99b89b
Compare
7f85748
to
42c0008
Compare
Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready. |
42c0008
to
dc57457
Compare
PR Check ResultsEcosystem✅ ecosystem check detected no changes. BenchmarkLinux
Windows
|
@MichaReiser merged this pull request with Graphite. |
Summary
This PR adds basic formatting for unary expressions.
Test Plan
I added a new
unary.py
with custom test cases