ruff/crates/ruff_python_formatter/tests
Charlie Marsh 6fe8f8a272
Avoid unstable formatting in ellipsis-only body with trailing comment (#8984)
## Summary

We should avoid inlining the ellipsis in:

```python
def h():
    ...
    # bye
```

Just as we omit the ellipsis in:

```python
def h():
    # bye
    ...
```

Closes https://github.com/astral-sh/ruff/issues/8905.
2023-12-03 19:15:40 -05:00
..
snapshots Avoid unstable formatting in ellipsis-only body with trailing comment (#8984) 2023-12-03 19:15:40 -05:00
fixtures.rs Update Black tests (#8901) 2023-11-30 00:09:55 +00:00
normalizer.rs ruff_python_formatter: small cleanups in doctest formatting (#8871) 2023-11-28 18:43:07 -05:00