---
source: crates/ruff_linter/src/rules/pydocstyle/mod.rs
---
sections.py:19:5: D405 [*] Section name should be properly capitalized ("returns")
   |
17 |     """Toggle the gizmo.
18 | 
19 |     returns
   |     ^^^^^^^ D405
20 |     -------
21 |     A value of some sort.
   |
   = help: Capitalize "returns"

ℹ Safe fix
16 16 | def not_capitalized():  # noqa: D416
17 17 |     """Toggle the gizmo.
18 18 | 
19    |-    returns
   19 |+    Returns
20 20 |     -------
21 21 |     A value of some sort.
22 22 | 

sections.py:218:5: D405 [*] Section name should be properly capitalized ("Short summary")
    |
216 |     """Toggle the gizmo.
217 | 
218 |     Short summary
    |     ^^^^^^^^^^^^^ D405
219 |     -------------
    |
    = help: Capitalize "Short summary"

ℹ Safe fix
215 215 | def multiple_sections():  # noqa: D416
216 216 |     """Toggle the gizmo.
217 217 | 
218     |-    Short summary
    218 |+    Short Summary
219 219 |     -------------
220 220 | 
221 221 |     This is the function's description, which will also specify what it
