---
source: crates/ruff_linter/src/rules/pydocstyle/mod.rs
---
sections.py:80:5: D411 [*] Missing blank line before section ("Yields")
   |
78 |     Returns
79 |     -------
80 |     Yields
   |     ^^^^^^ D411
81 |     ------
   |
   = help: Add blank line before "Yields"

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

sections.py:134:5: D411 [*] Missing blank line before section ("Returns")
    |
133 |     The function's description.
134 |     Returns
    |     ^^^^^^^ D411
135 |     -------
136 |     A value of some sort.
    |
    = help: Add blank line before "Returns"

ℹ Safe fix
131 131 |     """Toggle the gizmo.
132 132 | 
133 133 |     The function's description.
    134 |+
134 135 |     Returns
135 136 |     -------
136 137 |     A value of some sort.

sections.py:227:5: D411 [*] Missing blank line before section ("Raises")
    |
225 |     ------
226 |     Many many wonderful things.
227 |     Raises:
    |     ^^^^^^ D411
228 |     My attention.
    |
    = help: Add blank line before "Raises"

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