Update ruff to v0.0.280 (#97102)

This commit is contained in:
Franck Nijhof 2023-07-23 22:00:26 +02:00 committed by GitHub
parent bdd253328d
commit 86708b5590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 25 additions and 60 deletions

View file

@ -357,9 +357,7 @@ async def test_service_descriptions(hass: HomeAssistant) -> None:
" example: 'This is a test of python_script.hello'"
)
services_yaml1 = {
"{}/{}/services.yaml".format(
hass.config.config_dir, FOLDER
): service_descriptions1
f"{hass.config.config_dir}/{FOLDER}/services.yaml": service_descriptions1
}
with patch(
@ -408,9 +406,7 @@ async def test_service_descriptions(hass: HomeAssistant) -> None:
" example: 'This is a test of python_script.hello2'"
)
services_yaml2 = {
"{}/{}/services.yaml".format(
hass.config.config_dir, FOLDER
): service_descriptions2
f"{hass.config.config_dir}/{FOLDER}/services.yaml": service_descriptions2
}
with patch(