Wrapping yield tag #253
Labels
C: style
Relates to docstring format style (e.g., Google, NumPy, Sphinx)
P: enhancement
Feature that is outside the scope of PEP 257
U: low
A relatively low urgency issue
Hi,
With the latest docformatter (1.7.4) any yield tags in my docstrings are being wrapped into the line above.
Turns into
I understand that
yield
is not part of the official Sphinx docstring spec, but we have adopted them as we use darglint to lint our docstrings and that flags a `DAR301 Missing "Yields" in Docstring" if we do not document our yield.Plus it is good to be able to document what functions yield within their docstring.
I am running docformatter in a pre-commit hook with the following configuration:
The text was updated successfully, but these errors were encountered: