Enable pylint unnecessary-pass (#33650)

* Enable pylint unnecessary-pass

* Process review suggestions

* Fix smhi tests
This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-04-05 10:33:07 +02:00
1 parent 000ad256fb
commit 7653dc947a
79 files changed
-349

No files matched your search

-8
View File
@@ -17,14 +17,6 @@ from .const import (
_LOGGER = logging.getLogger(__name__)
async def async_setup_platform(hass, config, async_add_entities, discovery_info=None):
"""Set up the Plex sensor platform.
Deprecated.
"""
pass
async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up Plex sensor from a config entry."""
server_id = config_entry.data[CONF_SERVER_IDENTIFIER]