Bump ruff to 0.9.1 (#135197)

This commit is contained in:
Joost Lekkerkerker
2025-01-14 11:46:12 +01:00
committed by GitHub
parent 2b51ab1c75
commit 8db63adc11
49 changed files with 256 additions and 265 deletions

View File

@@ -14,9 +14,9 @@ async def test_request_least_info(hass: HomeAssistant) -> None:
"""Test request config with least amount of data."""
request_id = configurator.async_request_config(hass, "Test Request", lambda _: None)
assert (
len(hass.services.async_services().get(configurator.DOMAIN, [])) == 1
), "No new service registered"
assert len(hass.services.async_services().get(configurator.DOMAIN, [])) == 1, (
"No new service registered"
)
states = hass.states.async_all()