-
Notifications
You must be signed in to change notification settings - Fork 7
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
refactor: cleanups from writing docstring #1232
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1232 +/- ##
=======================================
Coverage 86.99% 86.99%
=======================================
Files 100 100
Lines 19021 19025 +4
Branches 17040 17040
=======================================
+ Hits 16547 16551 +4
Misses 1696 1696
Partials 778 778
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Nice cleanup 👍
|
||
def to_serial(self) -> sops.TupleValue: | ||
def to_serial(self) -> sops.TupleValue: # type: ignore[override] |
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.
Any idea why the ignore is needed?
It seems straightforward code
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.
sops.TupleValue
isn't an instance of sops.SumValue
so mypy doesn't like the override of Sum.to_serial
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.
will add comment
go commit by commit
mostly things like making methods/classes internal