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
Type of "make_wpistruct" is partially unknown
Type of "make_wpistruct" is "(cls: Unknown | None = None, /, *, name: str | None = None) -> (((cls: Unknown) -> Unknown) | Unknown)"Pylance[reportUnknownMemberType](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportUnknownMemberType)
Untyped class decorator obscures type of class; ignoring decoratorPylance[reportUntypedClassDecorator](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportUntypedClassDecorator)
The text was updated successfully, but these errors were encountered:
It's a class decorator, and I think that's the standard way to write a decorator? There's probably an example somewhere how one should properly annotate class decorators.
I think the default None for the cls argument is the issue. What does it mean for cls to be None?
mostrobotpy/subprojects/robotpy-wpiutil/wpiutil/wpistruct/dataclass.py
Line 42 in a614f97
The text was updated successfully, but these errors were encountered: