mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-03 09:22:19 +00:00
**Summary** Fix an instability in with statement formatter when there is
an own line comment as the `as`
```python
with (
a as
# bad comment
b):
```
**Test Plan** Added the comment to the test cases.
|
||
|---|---|---|
| .. | ||
| black | ||
| ruff | ||
| import_black_tests.py | ||