-
Notifications
You must be signed in to change notification settings - Fork 198
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
Remove warnings #2796
Remove warnings #2796
Conversation
joamatab
commented
May 28, 2024
- rename xmin to dxmin, ....
- rename mirror to dmirror
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.
We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.
p1.dmirror = not p1.dmirror | ||
else: | ||
p1 = b_inners[0].ports["o1"] | ||
p1.mirror = not p1.mirror | ||
p1.dmirror = not p1.dmirror |
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.
issue (code-quality): Hoist repeated code outside conditional statement (hoist-statement-from-if
)
it never struck me that even |
Mirror only has a difference if you set a mirror plane, otherwise it is identical |