---
source: crates/ruff_linter/src/rules/pydocstyle/mod.rs
---
D202.py:57:5: D202 [*] No blank lines allowed after function docstring (found 2)
   |
55 | # D202
56 | def outer():
57 |     """This is a docstring."""
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ D202
   |
   = help: Remove blank line(s) after function docstring

ℹ Safe fix
55 55 | # D202
56 56 | def outer():
57 57 |     """This is a docstring."""
58    |-
59    |-
60 58 |     def inner():
61 59 |         return
62 60 | 

D202.py:68:5: D202 [*] No blank lines allowed after function docstring (found 2)
   |
66 | # D202
67 | def outer():
68 |     """This is a docstring."""
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ D202
   |
   = help: Remove blank line(s) after function docstring

ℹ Safe fix
66 66 | # D202
67 67 | def outer():
68 68 |     """This is a docstring."""
69    |-
70    |-
71 69 |     # This is a comment.
72 70 |     def inner():
73 71 |         return

D202.py:80:5: D202 [*] No blank lines allowed after function docstring (found 1)
   |
78 | # D202
79 | def outer():
80 |     """This is a docstring."""
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ D202
81 | 
82 |     # This is a comment.
   |
   = help: Remove blank line(s) after function docstring

ℹ Safe fix
78 78 | # D202
79 79 | def outer():
80 80 |     """This is a docstring."""
81    |-
82 81 |     # This is a comment.
83 82 | 
84 83 |     def inner():


