Adopt Ruff `RET` to improve return-flow consistency across the codebase. Simplify control flow by removing redundant `else` blocks after `return`, and add explicit `return None` (or equivalent) fallbacks where appropriate to preserve existing behavior. Fixes #21411 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| forms.py | ||
| utils.py | ||
| widgets.py | ||