ruff/crates/ruff_python_formatter/tests
konsti af95cbaeef
Add newline after module docstrings in preview style (#8283)
Change
```python
"""Test docstring"""
a = 1
```
to
```python
"""Test docstring"""

a = 1
```
in preview style, but don't touch the docstring otherwise.

Do we want to ask black to also format the content of module level
docstrings? Seems inconsistent to me that we change function and class
docstring indentation/contents but not module docstrings.

Fixes https://github.com/astral-sh/ruff/issues/7995
2023-10-28 01:16:50 +00:00
..
snapshots Add newline after module docstrings in preview style (#8283) 2023-10-28 01:16:50 +00:00
fixtures.rs Add test and basic implementation for formatter preview mode (#8044) 2023-10-26 15:33:26 +00:00