Upgrade pyupgrade to 2.21.2, apply its changes (#52987)

This commit is contained in:
Ville Skyttä 2021-07-19 11:46:09 +03:00 committed by GitHub
parent c96f01df1f
commit 470f2dd73f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 152 additions and 162 deletions

View file

@ -268,7 +268,7 @@ async def handle_manifest_list(
"""Handle integrations command."""
loaded_integrations = async_get_loaded_integrations(hass)
integrations = await asyncio.gather(
*[async_get_integration(hass, domain) for domain in loaded_integrations]
*(async_get_integration(hass, domain) for domain in loaded_integrations)
)
connection.send_result(
msg["id"], [integration.manifest for integration in integrations]