ruff/crates/ruff
Charlie Marsh 42c8054268
Implement autofix for revised RET504 rule (#4999)
## Summary

This PR enables autofix for the revised `RET504` rule, by changing:

```py
def f():
    x = 1
    return x
```

...to:

```py
def f():
    return 1
```

Closes #2263.

Closes #2788.
2023-06-10 04:32:03 +00:00
..
resources/test Implement autofix for revised RET504 rule (#4999) 2023-06-10 04:32:03 +00:00
src Implement autofix for revised RET504 rule (#4999) 2023-06-10 04:32:03 +00:00
Cargo.toml Move Python whitespace utilities into new ruff_python_whitespace crate (#4993) 2023-06-10 00:59:57 +00:00