docstring_parser icon indicating copy to clipboard operation
docstring_parser copied to clipboard

attempts to preserve substring indentation

Open ntjess opened this issue 4 years ago • 1 comments

  • [X] fixes #51

The tests pass, but I have no idea if I did it the right way. Hoping this is easy enough for someone more experienced to pick up.

ntjess avatar Aug 02 '21 23:08 ntjess

Also in Google style if we have:

    """Arguments:
        argument: long description,
            long description 2
    """

I'd expect long description 2 to be indented with 4 spaces (relative to the outer scope that is the argument), and currently it's still indented with 8 (that is relative to the global scope of Arguments:).

rr- avatar Aug 03 '21 07:08 rr-