Fix linting errors

This commit is contained in:
Paulus Schoutsen committed 2016-07-16 23:45:38 -07:00
1 parent 925a623445
commit 38c50c830f
7 files changed
+12 -8

No files matched your search

@@ -19,7 +19,7 @@ _LOGGER = logging.getLogger(__name__)
def register_built_in_panel(hass, component_name, title=None, icon=None,
url_name=None, config=None):
"""Register a built-in panel."""
# pylint: disable=too-many-arguments
path = 'panels/ha-panel-{}.html'.format(component_name)
register_panel(hass, component_name, os.path.join(STATIC_PATH, path),
@@ -40,6 +40,7 @@ def register_panel(hass, component_name, path, md5, title=None, icon=None,
Warning: this API will probably change. Use at own risk.
"""
# pylint: disable=too-many-arguments
if url_name is None:
url_name = component_name
@@ -72,8 +73,6 @@ def register_panel(hass, component_name, path, md5, title=None, icon=None,
PANELS[url_name] = data
# TODO register /<component_name> to index view.
def setup(hass, config):
"""Setup serving the frontend."""