ruff/crates/ruff_python_formatter/resources/test/fixtures
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
..
black Implement multiline dictionary and list hugging for preview style (#8293) 2023-11-30 21:11:14 -05:00
ruff Avoid unstable formatting in ellipsis-only body with trailing comment (#8984) 2023-12-03 19:15:40 -05:00
import_black_tests.py Update Black tests (#8901) 2023-11-30 00:09:55 +00:00