docconvert
docconvert copied to clipboard
Update or convert docstring style formats in Python code.
Reading the following docstring ``` """ Blah :Parameters: arg1 :C{string} or C{int} Does something """ ``` results in the following Google docstring ``` """Blah Args: arg1 (string} or C{int): Does...
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...
Docconvert fails to parse a somewhat edge case pattern involving `...` in a context manager. Here is a minimal example: ``` import pytest def test_x(): with pytest.warns(UserWarning, match="this is a...