docconvert
docconvert copied to clipboard
Skip return types when use_types is off
At the moment we always add a return type even when use_types is off. If using type annotations, google, rest, and epytext output all support just defining a return docstring and not the rtype, which can be read from the type annotations.
We should support not writing return types when use_types is off.