mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-08 10:29:30 +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:
@@ -149,8 +149,9 @@ async def test_proxy_missing_properties_interface(dbus_session_bus: MessageBus):
|
||||
"""Return introspection without properties."""
|
||||
return load_fixture("test_no_properties_interface.xml")
|
||||
|
||||
with patch.object(MessageBus, "introspect", new=mock_introspect), pytest.raises(
|
||||
DBusInterfaceError
|
||||
with (
|
||||
patch.object(MessageBus, "introspect", new=mock_introspect),
|
||||
pytest.raises(DBusInterfaceError),
|
||||
):
|
||||
await proxy.connect(dbus_session_bus)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user