Switch formatting from black to ruff-format (#102893)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Aarni Koskela
2023-11-27 15:38:59 +02:00
committed by GitHub
parent cf9b0e804f
commit 706add4a57
161 changed files with 530 additions and 607 deletions

View File

@@ -367,7 +367,7 @@ async def test_service_descriptions(hass: HomeAssistant) -> None:
), patch(
"homeassistant.components.python_script.os.path.exists", return_value=True
), patch_yaml_files(
services_yaml1
services_yaml1,
):
await async_setup_component(hass, DOMAIN, {})
@@ -416,7 +416,7 @@ async def test_service_descriptions(hass: HomeAssistant) -> None:
), patch(
"homeassistant.components.python_script.os.path.exists", return_value=True
), patch_yaml_files(
services_yaml2
services_yaml2,
):
await hass.services.async_call(DOMAIN, "reload", {}, blocking=True)
descriptions = await async_get_all_descriptions(hass)