Open altendky opened 1 year ago
@bluebird75, maybe you know offhand how to add a transform to include the ClassVar
import?
Thanks and good point.
I guess the whole codebase needs to be udpated with this change ?
For imports, I have no magic ideas. It's either going with CST parsing/updating or just considering .pyi files as a set of lines and use a simple heuristic to add the missing import.
https://github.com/python-qt-tools/PySide6-stubs/issues/1
Draft for:
ClassVar