ruff/crates/ruff_python_formatter/tests
Charlie Marsh a82eb9544c
Implement Black's rules around newlines before and after class docstrings (#6209)
## Summary

Black allows up to one blank line _before_ a class docstring, and
enforces one blank line _after_ a class docstring. This PR implements
that handling. The cases in
`crates/ruff_python_formatter/resources/test/fixtures/ruff/statement/class_definition.py`
match Black identically.
2023-08-01 13:33:01 -04:00
..
snapshots Implement Black's rules around newlines before and after class docstrings (#6209) 2023-08-01 13:33:01 -04:00
fixtures.rs Format target: annotation = value? expressions (#5661) 2023-07-11 16:40:28 +02:00