mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-26 21:47:15 +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:
@@ -97,9 +97,10 @@ async def test_fixup_unknown_core(
|
||||
reference="local_ssh",
|
||||
suggestions=[SuggestionType.EXECUTE_REBUILD],
|
||||
)
|
||||
with patch.object(Addon, "restart") as restart, patch.object(
|
||||
DockerInterface, "stop"
|
||||
) as stop:
|
||||
with (
|
||||
patch.object(Addon, "restart") as restart,
|
||||
patch.object(DockerInterface, "stop") as stop,
|
||||
):
|
||||
await addon_execute_rebuild()
|
||||
restart.assert_not_called()
|
||||
stop.assert_not_called()
|
||||
|
||||
Reference in New Issue
Block a user