mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Bump pre-commit ruff to 0.5.7 and reformat (#5242)
It seems that the codebase is not formatted with the latest ruff version. This PR reformats the codebase with ruff 0.5.7.
This commit is contained in:
@@ -42,13 +42,11 @@ async def test_fixup(coresys: CoreSys):
|
||||
ContextType.SYSTEM,
|
||||
suggestions=[SuggestionType.EXECUTE_REBUILD],
|
||||
)
|
||||
with patch.object(
|
||||
FixupAddonExecuteRebuild, "process_fixup"
|
||||
) as addon_fixup, patch.object(
|
||||
FixupCoreExecuteRebuild, "process_fixup"
|
||||
) as core_fixup, patch.object(
|
||||
FixupPluginExecuteRebuild, "process_fixup"
|
||||
) as plugin_fixup:
|
||||
with (
|
||||
patch.object(FixupAddonExecuteRebuild, "process_fixup") as addon_fixup,
|
||||
patch.object(FixupCoreExecuteRebuild, "process_fixup") as core_fixup,
|
||||
patch.object(FixupPluginExecuteRebuild, "process_fixup") as plugin_fixup,
|
||||
):
|
||||
await system_execute_rebuild()
|
||||
addon_fixup.assert_called_once_with(reference="local_ssh")
|
||||
core_fixup.assert_called_once()
|
||||
|
||||
Reference in New Issue
Block a user