Remove for brackets: Extra unit test#2953
Conversation
|
Sigh, it turns out this is my fault as I had black's source code edited when reviewing this change (I was debugging another PR). This issue still exists, but it's hidden by the second pass we force: Lines 1151 to 1157 in 14d84ba If you remove this hack for magic trailing commas then the instability shows up. |
Ah thanks was wondering why I wasn't seeing the issue! |
|
I'd be fine with relying on this hack for now, but we want to remove it eventually so that probably just kicks the can down the road. |
|
Makes sense, I've added a note to this unit test so at least we know the hack works for now. Will aim to fix this as part of #2926 since I'm pretty sure it'll be the same issue! |
|
Going to close this as I've figured out how to fix this for both the |
Description
Investigating #2952. Really weird but I'm not seeing this issue and this unit test works fine for me 😅
Checklist - did you ...