Shoobx / mypy-zope

Plugin for mypy to support zope.interface
MIT License
38 stars 11 forks source link

exceptions.pyi doesn't contain MultipleInvalid #102

Open wRAR opened 1 year ago

wRAR commented 1 year ago

Looks like stubs were generated for an old version of zope.interface, is that intended?

kedder commented 1 year ago

Well, at the time stubs were generated, zope.interfaces wasn't old. I'm trying to update them in #105.

wRAR commented 1 year ago

Yeah, I guess my question should have read "is it intended that they aren't regenerated". Thanks!

kedder commented 1 year ago

Regenerating stubs isn't trivial, because they actually contain the manually added typing information, that is lost when regenerated from original untyped sources. Zope stubs didn't have a lot of these changes, so it is feasible to regenerate and retype again. Hopefully we don't have to do this very often.