Skip to content

Conversation

@Kobzol
Copy link
Collaborator

@Kobzol Kobzol commented Jul 25, 2022

Docline merging (merging the first line of docstring) works incorrectly if there is no documentation at all (just e.g. RST parameter description).

For example, here:

def target(a: int, b: int):
    """
    :param a: foo
    :param b: bar
    """

it merges RST to :param a: foo :param b: bar, which breaks it.

It doesn't seem to be that trivial to solve without changing the existing semantics of the first line merge.

@Kobzol Kobzol requested a review from spirali July 25, 2022 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants