-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[html report] Error creating TypedDict from **kwargs #16107
Comments
Sorry guys for commenting on dead thread, but... I have a qustion why all keys of typed dict are marked as |
This is a known problem. And actually can cause crashes in certain scenarios. I am going to address it in coming weeks, you can track #10007. When working on that issue I will also add a coverage test case. |
Hi @ilevkivskyi , thank you for explanation. Unfortunately before receiving the feedback I have decided to create the Feel free to handle it the way you think it will be proper from your point of view. |
Crash Report
When initializing a
TypedDict
using**kwargs
syntax and generating an--html-report
, mypy crashes with the following traceback. Possibly related to #5382.Traceback
To Reproduce
Run mypy against the following minimal example with
--html-report
.Your Environment
master
(1.7.0+dev.66fbf5b526ad8cfa127dd5cca68dcb2f770b1dd7)mypy --html-report=./mypy_report --show-traceback mypy_test.py
mypy.ini
(and other config files): n/aThe text was updated successfully, but these errors were encountered: