Skip to content

Support docstrings that only have type declarations #127

Open
@DanielNoord

Description

@DanielNoord
class A:
    attribute = 1
    """
    :type: Optional[int]
    """

This shouldn't get a period at the end of the line and probably also shouldn't be moved onto one single line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstyle: SphinxIssues related to Sphinx style docstrings: https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docs

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions