Run pylint from tox (#243)

This commit is contained in:
Pierre Ståhl
2020-12-17 09:26:55 +01:00
committed by GitHub
parent 3cf15f216e
commit f72cbc0b5a
9 changed files with 132 additions and 35 deletions

View File

@@ -209,7 +209,7 @@ async def async_setup(hass: HomeAssistant, config: dict):
await discovery.start()
hass.data[DOMAIN][DATA_DISCOVERY] = discovery
hass.bus.async_listen_once(EVENT_HOMEASSISTANT_STOP, _shutdown)
except Exception:
except Exception: # pylint: disable=broad-except
_LOGGER.exception("failed to set up discovery")
hass.helpers.service.async_register_admin_service(