Closed
Description
Hello!
The validation check YD01 is not implemented properly. The specific code in validate.py
is the following:
Line 599 in f33a53e
Since doc.method_source
also contains the docstring, this condition is also satisfied if "yield" occurs in the docstring (where it might be used as a regular word).
I have encountered this bug in a function that did not contain a yield
and it took me quite a while to figure out what was wrong.
Metadata
Metadata
Assignees
Labels
No labels