| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Diff from mypy_primer, showing the effect of this PR on open source code: core (https://github.com/home-assistant/core)
+ homeassistant/helpers/device_registry.py:1042: error: Unused "type: ignore" comment [unused-ignore]
+ homeassistant/helpers/device_registry.py:2187: error: Unused "type: ignore" comment [unused-ignore]
+ homeassistant/helpers/device_registry.py:4429: error: Unused "type: ignore" comment [unused-ignore]
scipy-stubs (https://github.com/scipy/scipy-stubs)
- tests/misc/test_submodules_empty.pyi:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
|
Sorry, something went wrong.
|
@JukkaL what do you think of this approach? (TBH I don't know which operations are safe or not) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
See #8625.
To be honest I don't see why we can't recurse on the converter return type along with the attribute type, and then set all the typevars we see based on the relevant part of the attribute type. I didn't do that since I don't know the right visitor to do so, but presumably I'm missing something that makes this harder?