---
source: crates/ruff/src/rules/pydocstyle/mod.rs
---
sections.py:76:5: D410 [*] Missing blank line after section ("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 | |     """
   | |_______^ D410
   |
   = help: Add blank line after "Returns"

ℹ Suggested fix
77 77 | 
78 78 |     Returns
79 79 |     -------
   80 |+
80 81 |     Yields
81 82 |     ------
82 83 | 

sections.py:216:5: D410 [*] Missing blank line after section ("Returns")
    |
216 |   @expect("D407: Missing dashed underline after section ('Raises')")
217 |   def multiple_sections():  # noqa: D416
218 |       """Toggle the gizmo.
    |  _____^
219 | | 
220 | |     Short summary
221 | |     -------------
222 | | 
223 | |     This is the function's description, which will also specify what it
224 | |     returns.
225 | | 
226 | |     Returns
227 | |     ------
228 | |     Many many wonderful things.
229 | |     Raises:
230 | |     My attention.
231 | | 
232 | |     """
    | |_______^ D410
    |
    = help: Add blank line after "Returns"

ℹ Suggested fix
224 224 |     Returns
225 225 |     ------
226 226 |     Many many wonderful things.
    227 |+
227 228 |     Raises:
228 229 |     My attention.
229 230 | 


