Desperate try to fix travis ci reporting a unused-argument

This commit is contained in:
Stefan Jonasson 2015-09-21 12:57:11 +02:00
parent 2785c373fb
commit 6437f6f6b4
2 changed files with 0 additions and 2 deletions

View File

@ -37,7 +37,6 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
if switch.methods(tellcore_constants.TELLSTICK_DIM): if switch.methods(tellcore_constants.TELLSTICK_DIM):
lights.append(TellstickLight(switch)) lights.append(TellstickLight(switch))
# pylint: disable=unused-argument
def _device_event_callback(id_, method, data, cid): def _device_event_callback(id_, method, data, cid):
""" Called from the TelldusCore library to update one device """ """ Called from the TelldusCore library to update one device """
for light_device in lights: for light_device in lights:

View File

@ -48,7 +48,6 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
switches.append( switches.append(
TellstickSwitchDevice(switch, signal_repetitions)) TellstickSwitchDevice(switch, signal_repetitions))
# pylint: disable=unused-argument
def _device_event_callback(id_, method, data, cid): def _device_event_callback(id_, method, data, cid):
""" Called from the TelldusCore library to update one device """ """ Called from the TelldusCore library to update one device """
for switch_device in switches: for switch_device in switches: