-
Notifications
You must be signed in to change notification settings - Fork 88
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 #76
Labels
enhancement
New feature or request
Comments
Note: Current list of type checkers in Python to choose from is: Mypy, Pyre, Pyright. As (perhaps practical, not exact) alternative to marking the code with type annotations, one can introduce also mutation testing on top of current unit tests. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suggest that all future code should be type annotated and I also suggest adding MyPy to CI. This will make the code easier to read for users as well as maintainers, prevent unnecessary errors and generally make code hinting much more accurate.
References:
PEP 484 -- Type Hints => https://www.python.org/dev/peps/pep-0484/
MyPy => https://github.com/python/mypy
The text was updated successfully, but these errors were encountered: