Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility issue with pylance #104

Open
KosukeMizuno opened this issue Apr 4, 2023 · 1 comment
Open

Compatibility issue with pylance #104

KosukeMizuno opened this issue Apr 4, 2023 · 1 comment

Comments

@KosukeMizuno
Copy link

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.

@RamShiraziAB
Copy link

same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants