ramonhagenaars/nptyping

Compatibility issue with pylance

KosukeMizuno opened this issue · 1 comments

Hi, thanks for useful package!
I report a compatibility issue with pylance (ver: 2023.3.40).
When I set python > Analysis: Type Checking mode == basic of vscode's setting, pylance reports "Illegal type annotation: variable not allowed unless it is a type alias" for the basis usage of nptyping.
Is there a way to supress or avoid this warning?

image

The screenshot was taken on vscode-jupyter but this also happens without jupyter.

same