Upgrade black to 20.8b1 (#39287)

This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-08-27 13:56:20 +02:00
1 parent 0d7eec710c
commit 1c2ebdf307
574 files changed
+4389 -1725

No files matched your search

+5 -2
View File
@@ -21,7 +21,8 @@ async def rfxtrx_fixture(hass):
async def _signal_event(packet_id):
event = rfxtrx.get_rfx_object(packet_id)
await hass.async_add_executor_job(
rfx.event_callback, event,
rfx.event_callback,
event,
)
await hass.async_block_till_done()
@@ -38,7 +39,9 @@ async def rfxtrx_automatic_fixture(hass, rfxtrx):
"""Fixture that starts up with automatic additions."""
assert await async_setup_component(
hass, "rfxtrx", {"rfxtrx": {"device": "abcd", "automatic_add": True}},
hass,
"rfxtrx",
{"rfxtrx": {"device": "abcd", "automatic_add": True}},
)
await hass.async_block_till_done()
await hass.async_start()