Is it possible to highlight incorrect type references in docstring in PyCharm?

PyCharm type hinting is great. We use it widely in our projects. But time to time type names in method docstrings get misspelled and some bugs that could have been warned about by PyCharm at development time are missed.

Is it possible to make PyCharm warn me about incorrect type reference in parameter type in docstring? For example if I make a typo like :type num: lomg instead of :type num: long I want lomg to be highlighted as a warning.

1

It's weird, but I've even not found anything like that in the bugtracker.
I've just created "PY-48700 highlight incorrect type references in docstring" to fill this gap.

0

请先登录再写评论。