-
Notifications
You must be signed in to change notification settings - Fork 6
Add type stubs and py.typed. Fix #40 Fix #41 #42
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 type stubs and py.typed. Fix #40 Fix #41 #42
Conversation
penguinolog
commented
May 18, 2018
- Signatures verified and updated
- stubs without cyclic imports (no stubs for simple code)
- py.typed added
:type verbose: ``bool`` | ||
:param timeout: Timeout for command execution. | ||
:type timeout: ``typing.Optional[int]`` | ||
:type timeout: ``typing.Union[int, None]`` |
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? I remember previously you replaced Union[x, None]
with Optional
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.
None
is not default here, and Optional for cases, when None is default. (Anyway Optional[T]
=== Union[None, T]
)
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 see
Pull Request Test Coverage Report for Build 126
💛 - Coveralls |
1 similar comment
Pull Request Test Coverage Report for Build 126
💛 - Coveralls |
Pull Request Test Coverage Report for Build 126
💛 - Coveralls |