---
source: crates/ruff_linter/src/rules/pydocstyle/mod.rs
---
D211 [*] No blank lines allowed before class docstring
   --> D.py:170:5
    |
168 | class WithLeadingSpace:
169 |
170 |     """With leading space."""
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
    |
help: Remove blank line(s) before class docstring
    |
168 | class WithLeadingSpace:
    -
169 |     """With leading space."""
    |

D211 [*] No blank lines allowed before class docstring
   --> D.py:181:5
    |
179 | class TrailingSpace:
180 |
181 |     """TrailingSpace."""
    |     ^^^^^^^^^^^^^^^^^^^^
182 |     pass
    |
help: Remove blank line(s) before class docstring
    |
179 | class TrailingSpace:
    -
180 |     """TrailingSpace."""
    |
