FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Stubtest: do not error if a function is async in the stub, but not at runtime by AlexWaygood · Pull Request #12234 · python/mypy · GitHub

Repository navigation

Stubtest: do not error if a function is async in the stub, but not at runtime - #12234

Merged
hauntsaninja merged 2 commits into
python:masterfrom
AlexWaygood:async-tweaks
Feb 27, 2022
Merged

hauntsaninja merged 2 commits into
python:masterfrom
AlexWaygood:async-tweaks

Conversation

AlexWaygood commented Feb 22, 2022 •
edited
Loading

Copy link
Copy Markdown
Member

This relaxes the new check introduced in #12212, which turned out to result in too many false-positive errors when checking stubs for third-party async libraries such as aiofiles (see python/typeshed#7344).

cc. @hauntsaninja

This comment has been minimized.

1 similar comment

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks!

hauntsaninja merged commit e784648 into python:master Feb 27, 2022
AlexWaygood deleted the async-tweaks branch February 27, 2022 22:34
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL