PLW0120 (else
clause on loop without a break
statement) false positive inside a match
#3131
Labels
bug
Something isn't working
Excited by the new
match
support, I ran it on a big project which contains a lot of match statements. The following is the only issue.Snippet:
Command:
ruff --isolated --select PLW0120 x.py
Expected: no violations -- the
else
is definitely not redundant here.Actual:
Version: 0.0.251
The text was updated successfully, but these errors were encountered: