---
source: crates/ruff/src/rules/pydocstyle/mod.rs
---
sections.py:54:5: D414 Section has no content ("Returns")
   |
54 |   @expect("D414: Section has no content ('Returns')")
55 |   def no_underline_and_no_description():  # noqa: D416
56 |       """Toggle the gizmo.
   |  _____^
57 | | 
58 | |     Returns
59 | | 
60 | |     """
   | |_______^ D414
   |

sections.py:65:5: D414 Section has no content ("Returns")
   |
65 |   @expect("D414: Section has no content ('Returns')")
66 |   def no_underline_and_no_newline():  # noqa: D416
67 |       """Toggle the gizmo.
   |  _____^
68 | | 
69 | |     Returns"""
   | |______________^ D414
   |

sections.py:76:5: D414 Section has no content ("Returns")
   |
76 |   @expect("D414: Section has no content ('Yields')")
77 |   def consecutive_sections():  # noqa: D416
78 |       """Toggle the gizmo.
   |  _____^
79 | | 
80 | |     Returns
81 | |     -------
82 | |     Yields
83 | |     ------
84 | | 
85 | |     Raises
86 | |     ------
87 | |     Questions.
88 | | 
89 | |     """
   | |_______^ D414
   |

sections.py:76:5: D414 Section has no content ("Yields")
   |
76 |   @expect("D414: Section has no content ('Yields')")
77 |   def consecutive_sections():  # noqa: D416
78 |       """Toggle the gizmo.
   |  _____^
79 | | 
80 | |     Returns
81 | |     -------
82 | |     Yields
83 | |     ------
84 | | 
85 | |     Raises
86 | |     ------
87 | |     Questions.
88 | | 
89 | |     """
   | |_______^ D414
   |

sections.py:170:5: D414 Section has no content ("Returns")
    |
170 |   @expect("D414: Section has no content ('Returns')")
171 |   def section_underline_overindented_and_contentless():  # noqa: D416
172 |       """Toggle the gizmo.
    |  _____^
173 | | 
174 | |     Returns
175 | |         -------
176 | |     """
    | |_______^ D414
    |

sections.py:261:5: D414 Section has no content ("Returns")
    |
261 |   @expect("D414: Section has no content ('Returns')")
262 |   def valid_google_style_section():  # noqa: D406, D407
263 |       """Toggle the gizmo.
    |  _____^
264 | | 
265 | |     Args:
266 | |         note: A random string.
267 | | 
268 | |     Returns:
269 | | 
270 | |     Raises:
271 | |         RandomError: A random error that occurs randomly.
272 | | 
273 | |     """
    | |_______^ D414
    |


