-
-
Notifications
You must be signed in to change notification settings - Fork 243
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 hints #206
Comments
There are currently no plans to add type hints. |
Currently, the best way of doing this is by adding comments (if Python 2 compatibility is required) or annotations (if Python2 support can be ignored), and adding a Conforming to PEP-561 will make it work out-of-the box with mypy without the need to submitting files to typeshed. AFAIK, typeshed is no longer recommended to use anyway for this very reason. |
I recently started using mypy with my project and it says "No library stub file for module 'colorama'".
Do you have any plans to introduce type annotations for colorama? Those could be done in the code as comments, as a separate stub file, or (whenever Python 2 support is dropped), with a proper annotation syntax.
Also, thanks a lot for colorama - it made my life so much easier (especially on Windows) in various projects! 👍
The text was updated successfully, but these errors were encountered: