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
Currently pyright fails with a massive amount of warnings.
This is due to the nature of generic types and how numpy applies type hinting.
The problem is figuring out how to apply generic dtype type hinting for arrays, such as ndarrays. There also needs to be a way to properly type hint the dtype itself. Solving this will improve type safety and clarity when working with arrays in the code.
Steps To Reproduce
Run pyright
Environment Information
Ensure pyright is installed in the virtual environment.
Activate the virtual environment.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Description of the bug
Currently
pyright
fails with a massive amount of warnings.This is due to the nature of generic types and how
numpy
applies type hinting.The problem is figuring out how to apply generic
dtype
type hinting for arrays, such asndarrays
. There also needs to be a way to properly type hint thedtype
itself. Solving this will improve type safety and clarity when working with arrays in the code.Steps To Reproduce
Run
pyright
Environment Information
Ensure
pyright
is installed in the virtual environment.Activate the virtual environment.
Additional Information
No response
The text was updated successfully, but these errors were encountered: