-
-
Notifications
You must be signed in to change notification settings - Fork 341
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 types to most of trio.testing
#2747
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
b75487f
Add types to trio.testing._trio_test
TeamSpen210 391f42b
Add types to trio.testing._check_streams
TeamSpen210 e3cb71e
Add types to trio.testing._checkpoints
TeamSpen210 737b8e2
Add types to trio.testing._network
TeamSpen210 e1e5aa3
Add types to trio.testing._memory_streams
TeamSpen210 fcd6831
Enable strict tests for most of trio.testing, fill in some missing ones
TeamSpen210 11ce4ff
Run linters
TeamSpen210 073cae1
Update verify_types.json
TeamSpen210 68eaad7
Introduce some type aliases to make code more readable
TeamSpen210 3c6b14c
Accept bytearray/memoryview in functions where applicable
TeamSpen210 c1fcd4a
Expand the type aliases in trio.testing for docs
TeamSpen210 e1e5596
Merge branch 'master' into type-testing
TeamSpen210 2fd7ae4
Merge remote-tracking branch 'origin/master' into type-testing
jakkdl d1a2c99
fix return type of trio/_core/_run to not be an awaitable, remove typ…
jakkdl 9538fd5
Merge remote-tracking branch 'origin/master' into type-testing
jakkdl e8fbc12
Un-stringify these aliases
TeamSpen210 7877591
Make StapledStream generic, to preserve the type of the component str…
TeamSpen210 2b669c7
add _highlevel_generic to mypy strictlist
jakkdl fa72c50
Merge remote-tracking branch 'origin/master' into type-testing
jakkdl d191c39
fix missing generic parameter
jakkdl ad41571
fix CI
jakkdl 6a9ad46
Merge branch 'master' into type-testing
TeamSpen210 054fe70
Update pyproject.toml
jakkdl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Geh. I assume there's no other things like this?