-
Notifications
You must be signed in to change notification settings - Fork 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
Add a few missing type annotations #17043
Conversation
Pull Request Test Coverage Report for Build 7389278716Warning: This coverage report may be inaccurate.We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
💛 - Coveralls |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
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.
I would guess your IDE isn't using mypy. If it were and was using the strict config or such it'd be complaining a lot more. But, I'm just guessing.
Co-authored-by: Kyle Altendorf <[email protected]>
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Co-authored-by: Kyle Altendorf <[email protected]>
It should be, don't know why it didn't catch this. Do I need to configure it to lint more strictly? |
* Add a few missing type annotations * Update chia/util/struct_stream.py Co-authored-by: Kyle Altendorf <[email protected]> * Update chia/util/keyring_wrapper.py Co-authored-by: Kyle Altendorf <[email protected]> * add `ClassVar` import --------- Co-authored-by: Kyle Altendorf <[email protected]>
Purpose:
Adds type annotations that were missing in a few places, which mypy (configured more strictly for my editor, presumably) was complaining about.
Current Behavior:
New Behavior:
Testing Notes: