We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
typing
The Transonic types defined in transonic.typing should be compatible with Mypy.
transonic.typing
It should also be possible to directly use types defined in typing for the simple cases (List, Dict, Set, Tuple, ...).
The text was updated successfully, but these errors were encountered:
Now there is another (nicer) variant: https://www.python.org/dev/peps/pep-0585/, which would be / is available starting from Python 3.7:
from __future__ import annotations def find(haystack: dict[str, list[int]]) -> int: ...
Sorry, something went wrong.
Support for mypy should be easier to implement soon with numpy>=1.20 when type hints for arrays will be supported.
https://github.com/numpy/numpy/milestone/83
No branches or pull requests
The Transonic types defined in
transonic.typing
should be compatible with Mypy.It should also be possible to directly use types defined in
typing
for the simple cases (List, Dict, Set, Tuple, ...).The text was updated successfully, but these errors were encountered: