We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug Report
the suggestion from dmypy recommends datetime when it should suggest datetime.datetime
dmypy
datetime
datetime.datetime
To Reproduce
import datetime def f(x): print(x.isoformat()) f(datetime.datetime.now())
[mypy] check_untyped_defs = true
Expected Behavior
$ dmypy run . ... $ dmypy suggest t.f (t:datetime.datetime) -> None
Actual Behavior
$ dmypy run . ... $ dmypy suggest t.f (t.datetime) -> None
Your Environment
mypy.ini
The text was updated successfully, but these errors were encountered:
I believe the bug is here:
mypy/mypy/suggestions.py
Line 840 in 454989f
Sorry, something went wrong.
dmypy suggest
brianschubert
Successfully merging a pull request may close this issue.
Bug Report
the suggestion from
dmypy
recommendsdatetime
when it should suggestdatetime.datetime
To Reproduce
Expected Behavior
Actual Behavior
Your Environment
mypy.ini
(and other config files): see aboveThe text was updated successfully, but these errors were encountered: