docstring_parser
docstring_parser copied to clipboard
attempts to preserve substring indentation
- [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.
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:).