sphinx-autodoc-typehints icon indicating copy to clipboard operation
sphinx-autodoc-typehints copied to clipboard

Don't add `:rtype: None`

Open nineteendo opened this issue 1 year ago • 0 comments

No return type should be added to the documentation of this function:

def foo() -> None:
    """Foo."""

Note that ruff mandates a return type: https://docs.astral.sh/ruff/rules/missing-return-type-undocumented-public-function

nineteendo avatar Sep 13 '24 08:09 nineteendo