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.

Please sign in to leave a comment.