-
-
Notifications
You must be signed in to change notification settings - Fork 392
Add types to some internal modules (_util, _deprecate, _ki)
#2719
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
28f275b
Add types to the _util module
TeamSpen210 9f526a2
Add types to _deprecate
TeamSpen210 f23aeeb
Fix incorrect use of issue parameter
TeamSpen210 fa16c70
Add types to _core._ki
TeamSpen210 824dad6
Coerce LOCALS_KEY_KI_PROTECTION_ENABLED to bool
TeamSpen210 bda66ec
Define type for trio.__deprecated_attributes__
TeamSpen210 ca1f3fe
Add additional variations of TYPE_CHECKING to coverage
TeamSpen210 097d192
Minor tweaks as suggested
TeamSpen210 e955f79
Enable stricter options for these modules
TeamSpen210 ad12306
This is always an AsyncGenerator
TeamSpen210 8b5accd
Merge remote-tracking branch 'upstream/master' into typed_utils
TeamSpen210 c00ffc1
Update type completeness
TeamSpen210 acab690
Use annotations future import, dict[] is flagged by mypy in 3.8
TeamSpen210 0e3939c
Sort imports and type completeness
TeamSpen210 492db84
Unused import
TeamSpen210 22a7473
Ignore __future__ imports when checking public symbols
TeamSpen210 342d25e
Use isort: split instead of skip, has much more predictable behaviour
TeamSpen210 f4eaa82
This typevar is no longer used, so we can import from collections.abc
TeamSpen210 0a6f748
Use AsyncGeneratorType instead
TeamSpen210 eb72869
Fix quotations
TeamSpen210 8d198ae
Add a test for fixup_module_metadata
TeamSpen210 1584339
Use Mapping instead of dict[.., Any]
TeamSpen210 84d586d
Blacken new test
TeamSpen210 168b5b0
Fix coverage problems
TeamSpen210 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
nit, but could be made cleaner by properly utilizing regexes.