mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 20:42:10 +00:00
![]() ## 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. |
||
---|---|---|
.. | ||
resources/test | ||
src | ||
Cargo.toml |