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

Remove warnings #2796

Merged
merged 14 commits into from
May 29, 2024
Merged

Remove warnings #2796

merged 14 commits into from
May 29, 2024

Conversation

joamatab
Copy link
Contributor

  • rename xmin to dxmin, ....
  • rename mirror to dmirror

@github-actions github-actions bot added the documentation Improvements or additions to documentation label May 28, 2024
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a 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.

Comment on lines +52 to +55
p1.dmirror = not p1.dmirror
else:
p1 = b_inners[0].ports["o1"]
p1.mirror = not p1.mirror
p1.dmirror = not p1.dmirror
Copy link
Contributor

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)

@tvt173
Copy link
Collaborator

tvt173 commented May 28, 2024

it never struck me that even mirror would need a dmirror... is this the source of the error we were seeing before?

@sebastian-goeldi
Copy link
Collaborator

Mirror only has a difference if you set a mirror plane, otherwise it is identical

@joamatab joamatab merged commit d3f793b into main May 29, 2024
6 of 14 checks passed
@joamatab joamatab deleted the remove_warnings branch May 29, 2024 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants