You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
$ flake8 --select DAR main.py main.py:13:1: DAR201 Missing "Returns" in Docstring: - returnmain.py:18:1: DAR201 Missing "Returns" in Docstring: - return
$ flake8 --select DAR --strictness full main.py main.py:13:1: DAR201 Missing "Returns" in Docstring: - returnmain.py:18:1: DAR201 Missing "Returns" in Docstring: - return
I would like to see a DAR201 (or new error) for a missing Returns docstring section on methods decorated as @abstractmethod. This is different than #54, as that issue related to not requiring an actual return statement in code, whereas this is strictly about the docstring. I have also checked that missing parameters are reported, as expected (not shown above).
This helps because it will require superclass interfaces to declare what their implementors should return.
The text was updated successfully, but these errors were encountered:
I would like to see a DAR201 (or new error) for a missing Returns docstring section on methods decorated as
@abstractmethod
. This is different than #54, as that issue related to not requiring an actualreturn
statement in code, whereas this is strictly about the docstring. I have also checked that missing parameters are reported, as expected (not shown above).This helps because it will require superclass interfaces to declare what their implementors should return.
The text was updated successfully, but these errors were encountered: