-
-
Notifications
You must be signed in to change notification settings - Fork 357
Enable mypy's disallow_any_explicit
flag.
#3121
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
CoolCat467
merged 33 commits into
python-trio:main
from
CoolCat467:enable-disallow_any_explicit
Nov 3, 2024
Merged
Changes from 15 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
6e91b75
Enable mypy's `disallow_any_explicit` flag.
CoolCat467 feeccf1
Fix various things after reviewing all changes
CoolCat467 569bc37
Do not use faster mypy cache on pypy
CoolCat467 deb1c13
Merge remote-tracking branch 'origin/main' into enable-disallow_any_e…
CoolCat467 521c1b7
Try to get rid of more `Any`s
CoolCat467 55964ad
Get rid of a bunch more `Any`s and resolve mypy issues
CoolCat467 e888514
Match other TypeVarTuple usage
CoolCat467 30db0d8
Mark variable as nonlocal
CoolCat467 7707361
Cast asyncio run in loop to be InHost
CoolCat467 e99b69f
Handle case where `names` does not exist in node for some reason
CoolCat467 aee4a77
Hopefully fix jedi issue
CoolCat467 e157589
Check the hashes are the same
A5rocks 62f89fa
Get the hash glob makes
A5rocks ca48ef6
Fix inputs to glob.hashFiles
A5rocks 28b4abc
Remove testing hashes
A5rocks a1e4916
Apply requested changes from code review
CoolCat467 c3c0a28
Code review suggestions
CoolCat467 63353f4
Fix type issue
CoolCat467 69e60a5
Fix cffi type issues again
CoolCat467 25ecf1e
Merge branch 'main' into enable-disallow_any_explicit
CoolCat467 2bc0da3
Use correct `CData`
CoolCat467 0f999b8
Fix cast again
CoolCat467 50adccb
Clarify comments and get rid of more `Any`s
CoolCat467 3a320c3
Update src/trio/_tests/test_socket.py
CoolCat467 03f1c4e
Apply suggestions from code review
CoolCat467 33f1caa
Apply suggestions from code review
CoolCat467 854c5cd
Update src/trio/_threads.py
CoolCat467 bcd3f54
Improve type annotations
CoolCat467 7e719a8
Merge branch 'main' into enable-disallow_any_explicit
CoolCat467 ee0322a
Forgot `type` and fix more type issues
CoolCat467 9005f98
Add typing to `orig_getaddrinfo`
CoolCat467 c480449
Add full typing for `_responses` and `record`
CoolCat467 ba24f74
Fix type issues
CoolCat467 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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.