You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 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.
## 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.
Closesastral-sh#10278
## Test Plan
~Still needs a test.~ Test case added for this example.
Sample code:
When running with
ruff --select E203 --preview
, the first line triggers E203:The same slice on the second line which is outside of a format string does not trigger E203.
The text was updated successfully, but these errors were encountered: