docstring-missing-returns (DOC201
) reports on __new__
#13079
Labels
docstring
Related to docstring linting or formatting
needs-decision
Awaiting a decision from a maintainer
rule
Implementing or modifying a lint rule
Running
ruff check --select DOC201 --preview --isolated
onreports a docstring-missing-returns (DOC201) diagnostic.
The expected behaviour is that the return value of a
__new__
method is not expected to be documented as it simply returns an instance of the class.Related to #8085
Search terms: DOC201, docstring-missing-returns,
__new__
The text was updated successfully, but these errors were encountered: