If zope-stubs/__init__.pyi exists, VSCode with mypy addon fails to resolve all Zope packages other than zope.interface and zope.schema, for example zope.component, zope.location, zope.site all have no type hints.
If zope-stubs/__init__.pyi is removed, then VSCode works with all Zope packages, and can still benefit from the stubs.
Example:
If
zope-stubs/__init__.pyi
exists, VSCode with mypy addon fails to resolve all Zope packages other thanzope.interface
andzope.schema
, for examplezope.component
,zope.location
,zope.site
all have no type hints.If
zope-stubs/__init__.pyi
is removed, then VSCode works with all Zope packages, and can still benefit from the stubs.