ruff/crates/ruff_python_formatter/resources/test/fixtures
Charlie Marsh b763973357
Avoid hard line break after dangling open-parenthesis comments (#6380)
## Summary

Given:

```python
[  # comment
    first,
    second,
    third
]  # another comment
```

We were adding a hard line break as part of the formatting of `#
comment`, which led to the following formatting:

```python
[first, second, third]  # comment
  # another comment
```

Closes https://github.com/astral-sh/ruff/issues/6367.
2023-08-07 14:15:32 +00:00
..
black Type alias stub for formatter (#5880) 2023-07-19 17:28:07 +02:00
ruff Avoid hard line break after dangling open-parenthesis comments (#6380) 2023-08-07 14:15:32 +00:00
import_black_tests.py Type alias stub for formatter (#5880) 2023-07-19 17:28:07 +02:00