Remove inline pylint disables for messages disabled in pylintrc (#14978)

This commit is contained in:
Ville Skyttä authored and Pascal Vizeli committed 2018-06-16 00:15:46 +02:00
1 parent d0cbbe6141
commit 4bd7a7eee3
171 files changed
+13 -182

No files matched your search

-1
View File
@@ -8,7 +8,6 @@ from homeassistant.components.lock import LockDevice, SUPPORT_OPEN
from homeassistant.const import (STATE_LOCKED, STATE_UNLOCKED)
# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up the Demo lock platform."""
add_devices([
-1
View File
@@ -21,7 +21,6 @@ VALUE_TO_STATE = {
}
# pylint: disable=unused-argument
def setup_platform(hass, config: ConfigType,
add_devices: Callable[[list], None], discovery_info=None):
"""Set up the ISY994 lock platform."""
@@ -26,7 +26,6 @@ API_STATE_URL = BASE_URL + '/v2/locks/{}?access_token={}'
API_ACTION_URL = BASE_URL + '/v2/locks/{}?access_token={}&state={}'
# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up the Lockitron platform."""
access_token = config.get(CONF_ACCESS_TOKEN)
-1
View File
@@ -27,7 +27,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
})
# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up the Nello lock platform."""
from pynello import Nello
-1
View File
@@ -50,7 +50,6 @@ UNLATCH_SERVICE_SCHEMA = vol.Schema({
})
# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up the Nuki lock platform."""
from pynuki import NukiBridge
-1
View File
@@ -24,7 +24,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
})
# pylint: disable=unused-argument
def setup_platform(
hass, config: ConfigType,
add_devices: Callable[[list], None], discovery_info=None):
@@ -12,7 +12,6 @@ from homeassistant.components.volvooncall import VolvoEntity
_LOGGER = logging.getLogger(__name__)
# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up the Volvo On Call lock."""
if discovery_info is None: