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

type annotations for numpy objects #62

Closed
jvdwetering opened this issue Feb 24, 2021 · 0 comments
Closed

type annotations for numpy objects #62

jvdwetering opened this issue Feb 24, 2021 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@jvdwetering
Copy link
Collaborator

NumPy 1.20 added type annotations, which broke mypy. I've added dummy type: ignores in the relevant places, but at some point appropriate types for numpy have to be added.

@jvdwetering jvdwetering added bug Something isn't working good first issue Good for newcomers labels May 12, 2022
dlyongemallo added a commit to dlyongemallo/pyzx that referenced this issue Jun 28, 2023
dlyongemallo added a commit to dlyongemallo/pyzx that referenced this issue Jun 30, 2023
These lines no longer cause a problem in mypy>=0.990. Also add mypy>=0.990 to requirements.txt.

Partially addresses zxcalc#62.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant