Remove inline pylint disables for messages disabled in pylintrc (#14978)
This commit is contained in:
1 parent
d0cbbe6141
commit
4bd7a7eee3
171 files changed
+13
-182
No files matched your search
@@ -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([
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user