| 1 |
# Regression test for https://github.com/psf/black/issues/4733. |
| 2 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa: list[ # bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |
| 3 |
int |
| 4 |
] = [] |
| 5 |
|
| 6 |
|
| 7 |
# Original (non-minimized) snippet from the issue report. |
| 8 |
def foo(): |
| 9 |
possibly_redundant_lowlevel_checkpoints: list[ # pyright: ignore[reportUnknownVariableType] |
| 10 |
cst.BaseExpression |
| 11 |
] = field( default_factory=list) |
| 12 |
|
| 13 |
# output |
| 14 |
|
| 15 |
# Regression test for https://github.com/psf/black/issues/4733. |
| 16 |
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa: list[ # bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |
| 17 |
int |
| 18 |
] = [] |
| 19 |
|
| 20 |
|
| 21 |
# Original (non-minimized) snippet from the issue report. |
| 22 |
def foo(): |
| 23 |
possibly_redundant_lowlevel_checkpoints: list[ # pyright: ignore[reportUnknownVariableType] |
| 24 |
cst.BaseExpression |
| 25 |
] = field(default_factory=list) |