mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
This PR adds support for `SIM110` and `SIM111` simplifications of the
form:
```py
def f():
# SIM110
for x in iterable:
if check(x):
return True
else:
return False
```