ruff
7b4a73d4 - Fix E203 false positive for slices in format strings (#10280)

Commit
1 year ago
Fix E203 false positive for slices in format strings (#10280) ## Summary The code later in this file that checks for slices relies on the stack of brackets to determine the position. I'm not sure why format strings were being excluded from this, but the tests still pass with these match guards removed. Closes #10278 ## Test Plan ~Still needs a test.~ Test case added for this example.
Author
Parents
Loading