pylint-errors

W9012 (missing-return-type-doc)

:x: Problematic code:

def foo(n):
    """A dummy string.

    :returns: a result.
    """

    return n ** 10

:heavy_check_mark: Correct code:

def foo(n):
    """A dummy string.

    :returns: a result.
    :rtype: int
    """

    return n ** 10

Rationale:

Please document the type returned by this method.