ruff/crates/ruff_linter/resources/test/fixtures/pydocstyle
Charlie Marsh 3aa7e35a4c
Avoid removing newlines between docstring headers and rST blocks (#11609)
Given:

```python
def func():
    """
    Example:

    .. code-block:: python

        import foo
    """
```

Removing the newline after the `Example:` header breaks Sphinx
rendering.

See: https://github.com/astral-sh/ruff/issues/11577
2024-05-30 13:29:20 -04:00
..
_unrelated Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
D104 Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
all.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
bom.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
canonical_google_examples.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
canonical_numpy_examples.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
D.py Fix panic in D208 with multibyte indent (#9147) 2023-12-15 12:02:15 -05:00
D100.ipynb Avoid D100 for Jupyter Notebooks (#8816) 2023-11-22 15:26:25 +00:00
D200.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
D202.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
D208.py Convert over-indentation rule to use number of characters (#8983) 2023-12-03 20:45:30 +00:00
D209_D400.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
D214_module.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
D215.py Use deletion for D215 full-line removals (#7625) 2023-09-23 22:44:55 +00:00
D300.py D300: prevent autofix when both triples are in body (#8462) 2023-11-03 12:49:50 -04:00
D301.py Avoid D301 autofix for u prefixed strings (#8495) 2023-11-05 09:45:49 -05:00
D400.py Ignore underlines when determining docstring logical lines (#8929) 2023-11-30 14:27:04 -05:00
D401.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
D403.py D403: Require capitalizing single word sentence (#10776) 2024-04-05 08:42:00 +02:00
D410.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
D413.py [pydocstyle] Trim whitespace when removing blank lines after section (D413) (#10162) 2024-02-29 13:29:40 +00:00
D417.py Disambiguate argument descriptors from section headers (#9427) 2024-01-07 22:41:00 -05:00
sections.py [pydocstyle-D405] Allow using parameters as a sub-section header (#9894) 2024-02-08 21:54:32 -05:00
setter.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
sphinx.py Avoid removing newlines between docstring headers and rST blocks (#11609) 2024-05-30 13:29:20 -04:00