style: reformat with ruff

This commit is contained in:
2026-03-16 17:26:57 -04:00
parent 1836785b05
commit 3232e797c8
4 changed files with 12 additions and 9 deletions

View File

@@ -167,9 +167,11 @@ def rreload(reloaded_modules, module):
reloaded_modules.add(module.__name__)
for submodule in filter(
lambda sm: inspect.ismodule(sm)
and sm.__name__ in RELOADABLE_MODULES
and sm.__name__ not in reloaded_modules,
lambda sm: (
inspect.ismodule(sm)
and sm.__name__ in RELOADABLE_MODULES
and sm.__name__ not in reloaded_modules
),
vars(module).values(),
):
rreload(reloaded_modules, submodule)