Kai Willadsen
Kai Willadsen
This is approaching the point of generating usable stubs. There's still a *lot* of errors, but I think they're starting to get down to things like GError aliases, Liskov substitution...
Thanks! I'm not quite there yet as far as this branch goes. The generation is useful, but the number of complaints from mypy is just too high. I'll try to...
> Just wondering, are these complains also there if you use mypy to check your pygobject-using code or just when you check the stubs themselves? Yeah, they show up even...
The `parent_instance` problem is extremely weird. I've filed https://github.com/python/mypy/issues/6119 with a test case so fingers crossed. Some of the `Invalid type` errors are caused by https://github.com/pygobject/pgi-docgen/issues/177, but I'm not sure...
Sorry, I haven't had a lot of time to work on this. The current state is that the above issues are all fixed, except for the Liskov violations (that are...
I still haven't had any real time or motivation to poke this much. The basics are still there, but there's many issues. * There are disagreements between the introspection information...
I've just tested in 3.7, and there the behaviour is to _completely ignore_ the entire file. In other words, if I add `# type: ignore` to the top of a...
I only recently realised that the Liskov violations are split into direct subclass issues and multiple inheritance ones. I've started on a list of exclusions for the direct subclass problems,...
Every once in a while I pick this up again and make a small amount of progress. Every time I've been stymied a bit by mypy assumptions/limitations, but honestly mostly...
I'm happy to leave the merging decision to others. In my personal opinion, I wouldn't merge this because I couldn't in good conscience suggest that someone use the generated stubs...