1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Disable pylint unused-argument check

This commit is contained in:
Paulus Schoutsen
2015-01-19 23:40:51 -08:00
parent d3f1b83e57
commit ff230cefe3
37 changed files with 12 additions and 52 deletions

View File

@@ -93,7 +93,7 @@ class TestRemoteMethods(unittest.TestCase):
""" Test Python API fire_event. """
test_value = []
def listener(event): # pylint: disable=unused-argument
def listener(event):
""" Helper method that will verify our event got called. """
test_value.append(1)
@@ -158,7 +158,7 @@ class TestRemoteMethods(unittest.TestCase):
""" Test Python API services.call. """
test_value = []
def listener(service_call): # pylint: disable=unused-argument
def listener(service_call):
""" Helper method that will verify that our service got called. """
test_value.append(1)
@@ -214,7 +214,7 @@ class TestRemoteClasses(unittest.TestCase):
""" Test if events fired from the eventbus get fired. """
test_value = []
def listener(event): # pylint: disable=unused-argument
def listener(event):
""" Helper method that will verify our event got called. """
test_value.append(1)