Skip to content

Remove type and rtype from docstrings #381

@giffels

Description

@giffels

@maxfischer2781 rightfully pointed out during review of #378 , that it is recommended to avoid :type …: docstrings if one already have type hints. The various inspection and documentation tools have no problem picking up the type hints. Adding the type again in the docstring just duplicates the information in a less accessible way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions