-
-
Notifications
You must be signed in to change notification settings - Fork 879
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
Switch to explicit typing.Optional throughout #2092
Comments
--strict
and ``--strict
and AsyncExitStack
Hi @michaeloliverx, Yup, this seems correct and well scoped, I guess at this point a PR attempting to fix that type annotation to |
Perhaps we should re-title this as the more general case. Something like "Switch to explicit typing.Optional throughout" (?) |
--strict
and AsyncExitStack
If no one has picked this up yet, I'm happy to take a crack at it. I've been working on it a little bit and I've got the total number of errors from Happy to continue the work and open a PR if people are interested. |
See the following snippet:
Output with
strict = false
:Output with
strict = true
:I initially raised an issue at python/mypy#12226 but it looks to be an issue with
httpx
. They saidThe text was updated successfully, but these errors were encountered: