Skip to content

Docformatter not formatting multi-line format of docstring #265

Open

Description

@JosePintos

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.
    """

Activity

  1. added
    P: bugPEP 257 violation or existing functionality that doesn't work as documented
    C: conventionRelates to docstring format convention
    and removed
    freshThis is a new issue
    on Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: conventionRelates to docstring format conventionP: bugPEP 257 violation or existing functionality that doesn't work as documentedU: high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions