netbox/netbox/extras/dashboard
Martin Hauser ef52ac4203 chore(ruff): Enable RET rules and add explicit fallbacks
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
2026-02-18 16:49:36 -05:00
..
__init__.py Closes #9416: Dashboard widgets (#11823) 2023-02-24 16:04:00 -05:00
forms.py Closes #14740: Remove BootstrapMixin (#14841) 2024-01-19 14:02:33 -05:00
utils.py Fixes #21407: Enable I (isort) and stabilize import ordering (#21458) 2026-02-18 10:41:51 -06:00
widgets.py chore(ruff): Enable RET rules and add explicit fallbacks 2026-02-18 16:49:36 -05:00