spadarian / docblock-python

Atom plugin to insert documentation blocks for python functions
GNU General Public License v2.0
22 stars 9 forks source link

Wrong indentation of sphinx style :return: if :rtype: is disabled #46

Closed oliver-joos closed 4 years ago

oliver-joos commented 4 years ago

If I use "sphinx" Style, enable "Describe returned value" and disable "Show types" then :return: line is always indented 0 spaces. The rest of the sphinx doc block is indented correctly.

I see this bug in doc-block 0.16.0 and in latest 0.18.1.

oliver-joos commented 4 years ago

Cool, thank you! I confirm this bug is fixed in 0.18.2

spadarian commented 4 years ago

No worries. Thanks for raising the issue.