-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Supporting type from docstring #1669
Comments
Sorry, we have considered this and we're not going to support it. Types in docstrings are too often incorrect and unmaintained. |
Then is there a way to write something targeting
I try, but i dont find any intersection If it is possible, it is great. I think there will be no problem to update the codebase i manage. |
Hopefully Sphinx will start supporting type comments now that they are included in PEP 484 -- then type comments would work everywhere. |
Hi,
After we tests with the master of python/mypy repo, it seems that definition of types from the docstring are not supported.
I try this (https://www.jetbrains.com/help/pycharm/2016.1/using-docstrings-to-specify-types.html):
And that:
Is there any way to support it?
Thanks a lot
The text was updated successfully, but these errors were encountered: