-
Notifications
You must be signed in to change notification settings - Fork 1.3k
More type hints #3193
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
More type hints #3193
Conversation
8b81bff
to
a8fdc19
Compare
a8fdc19
to
54a342a
Compare
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.
Just a couple minor things. Thank you!
@@ -10,30 +10,20 @@ | |||
//| def __init__(self) -> None: | |||
//| """Enum-like class to define the satellite system type.""" | |||
//| | |||
//| GPS: SatelliteSystem = ... | |||
//| """Global Positioning System. | |||
//| GPS: SatelliteSystem |
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.
Why is the = ...
not needed?
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.
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.
Totally agree! Is there anyway we could check that the = ...
isn't added?
b8851a7
to
0822e67
Compare
0822e67
to
d356581
Compare
@ciscorn Let us know when you're ready for review. Thanks! |
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.
Looks great! Thank you!
Added and corrected some type annotations.
I also tweaked extract_pyi.py a bit.