-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cast protoport to port before int angle match #584
Conversation
Reviewer's Guide by SourceryThe pull request modifies the Sequence diagram for port angle conversion in rename_clockwisesequenceDiagram
participant RC as rename_clockwise
participant PP as ProtoPort
participant P as Port
RC->>PP: Get port.angle
PP->>P: to_port()
P-->>RC: Return port with integer angle
Note over RC: Match angle value
Note over RC: Calculate sort keys
Class diagram showing ProtoPort and Port relationshipclassDiagram
class ProtoPort {
+angle: Any
+trans: Transform
+to_port() Port
}
class Port {
+angle: int
+trans: Transform
}
ProtoPort ..> Port : converts to
note for ProtoPort "Holds port data with flexible types"
note for Port "Concrete port with integer angle"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #584 +/- ##
==========================================
+ Coverage 61.67% 61.68% +0.01%
==========================================
Files 64 64
Lines 9409 9409
Branches 1731 1731
==========================================
+ Hits 5803 5804 +1
Misses 3089 3089
+ Partials 517 516 -1 ☔ View full report in Codecov by Sentry. |
Summary by Sourcery
Bug Fixes: