Files
ruff/crates
Ottavio Hartman 526abebbae [flake8-simplify] Detect implicit else cases in needless-bool (SIM103) (#10414)
Fixes #10402 

## Summary

For SIM103, detect and simplify the following case:

[playground
link](https://play.ruff.rs/d98570aa-b180-495b-8600-5c4c3fd02526)
```python
def main():
    if foo > 5:
        return True
    return False
```

## Test Plan

Unit tested only.
2024-03-18 00:15:28 +00:00
..
2024-03-15 12:51:49 -05:00
2024-03-13 02:34:23 +00:00
2024-03-13 02:34:23 +00:00