PyCQA / docformatter

Formats docstrings to follow PEP 257
https://pypi.python.org/pypi/docformatter
MIT License
530 stars 61 forks source link

1.7.2-rc7 bugs #230

Closed AntoineD closed 1 year ago

AntoineD commented 1 year ago

With this example

def f():
    """CC.

    :math:`-`

    :param d: blabla
    :param list(str) l: blabla
    """

docformatter inserts a blank space after the second : and concatenates the params:

def f():
    """CC.

    :math: `-`
    :param d: blabla :param list(str) l: blabla
    """
weibullguy commented 1 year ago

@AntoineD v1.7.2-rc8 should fix this. However, see #216 as the newline between :math: and the first :param: lines will be removed.

weibullguy commented 1 year ago

Closing this issue to #231.