You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that in the case you linked, the class is not an enum (at least not in the stub). But it would be useful for stubtest to flag missing class attributes whether or not the class is an enum.
Activity
JelleZijlstra commentedon Feb 13, 2023
Note that in the case you linked, the class is not an enum (at least not in the stub). But it would be useful for stubtest to flag missing class attributes whether or not the class is an enum.
hauntsaninja commentedon Feb 13, 2023
stubtest does already do this. The issue is just that the typeshed third party stub tests default to passing
--ignore-missing-stubhttps://github.com/python/typeshed/blob/70f0f5488aed9952a5bea1d76eef9f97ce60dc40/tests/parse_metadata.py#L70
I've advocated against typeshed doing this in the past, current issue for this is python/typeshed#9538