---
source: crates/ruff_linter/src/rules/pydocstyle/mod.rs
snapshot_kind: text
---
D.py:129:5: D212 [*] Multi-line docstring summary should start at the first line
    |
127 |   @expect('D212: Multi-line docstring summary should start at the first line')
128 |   def asdlkfasd():
129 |       """
    |  _____^
130 | |     Wrong.
131 | |     """
    | |_______^ D212
    |
    = help: Remove whitespace after opening quotes

ℹ Safe fix
126 126 |         '(found 3)')
127 127 | @expect('D212: Multi-line docstring summary should start at the first line')
128 128 | def asdlkfasd():
129     |-    """
130     |-    Wrong.
    129 |+    """Wrong.
131 130 |     """
132 131 | 
133 132 | 

D.py:597:5: D212 [*] Multi-line docstring summary should start at the first line
    |
595 |   @expect('D212: Multi-line docstring summary should start at the first line')
596 |   def one_liner():
597 |       """
    |  _____^
598 | | 
599 | |     Wrong."""
    | |_____________^ D212
    |
    = help: Remove whitespace after opening quotes

ℹ Safe fix
594 594 |         '(found 3)')
595 595 | @expect('D212: Multi-line docstring summary should start at the first line')
596 596 | def one_liner():
597     |-    """
598     |-
599     |-    Wrong."""
    597 |+    """Wrong."""
600 598 | 
601 599 | 
602 600 | @expect('D200: One-line docstring should fit on one line with quotes '

D.py:624:5: D212 [*] Multi-line docstring summary should start at the first line
    |
622 |   @expect('D212: Multi-line docstring summary should start at the first line')
623 |   def one_liner():
624 |       """
    |  _____^
625 | | 
626 | |     "Wrong."""
    | |______________^ D212
    |
    = help: Remove whitespace after opening quotes

ℹ Safe fix
621 621 |         '(found 3)')
622 622 | @expect('D212: Multi-line docstring summary should start at the first line')
623 623 | def one_liner():
624     |-    """
625     |-
626     |-    "Wrong."""
    624 |+    """"Wrong."""
627 625 | 
628 626 | 
629 627 | @expect('D404: First word of the docstring should not be "This"')
