Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docformatter not formatting multi-line format of docstring #265

Open
JosePintos opened this issue Oct 10, 2023 · 0 comments
Open

Docformatter not formatting multi-line format of docstring #265

JosePintos opened this issue Oct 10, 2023 · 0 comments
Labels
C: convention Relates to docstring format convention P: bug PEP 257 violation or existing functionality that doesn't work as documented U: high

Comments

@JosePintos
Copy link

JosePintos commented Oct 10, 2023

I'm running the latest version of docformatter (as well as 1.7.3, 1.6.5, 1.3.1) with python 3.10.1.

Input:

def launch_rocket():
    """Launch
the
rocket. Go colonize space."""

expected:

def launch_rocket():
    """Launch the rocket.

    Go colonize space.
    """

actual output:

def launch_rocket():
    """Launch
    the
    rocket. Go colonize space.
    """
@github-actions github-actions bot added the fresh This is a new issue label Oct 10, 2023
@weibullguy weibullguy added P: bug PEP 257 violation or existing functionality that doesn't work as documented C: convention Relates to docstring format convention and removed fresh This is a new issue labels Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: convention Relates to docstring format convention P: bug PEP 257 violation or existing functionality that doesn't work as documented U: high
Projects
None yet
Development

No branches or pull requests

2 participants