---
source: crates/ruff_linter/src/rules/pydocstyle/mod.rs
---
D.py:631:5: D404 First word of the docstring should not be "This"
    |
629 | @expect('D404: First word of the docstring should not be "This"')
630 | def starts_with_this():
631 |     """This is a docstring."""
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ D404
    |

D.py:636:5: D404 First word of the docstring should not be "This"
    |
634 | @expect('D404: First word of the docstring should not be "This"')
635 | def starts_with_space_then_this():
636 |     """ This is a docstring that starts with a space."""  # noqa: D210
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D404
    |

D.py:639:17: D404 First word of the docstring should not be "This"
    |
639 | class SameLine: """This is a docstring on the same line"""
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D404
640 | 
641 | def same_line(): """This is a docstring on the same line"""
    |

D.py:641:18: D404 First word of the docstring should not be "This"
    |
639 | class SameLine: """This is a docstring on the same line"""
640 | 
641 | def same_line(): """This is a docstring on the same line"""
    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ D404
    |


