Disable too-many-* (#4107)

* Disable too-many-* and too-few-public-methods

* Remove globally disabled pylint warnings
This commit is contained in:
Fabian Affolter
2016-10-30 22:18:53 +01:00
committed by GitHub
parent b910a9917d
commit be272ac64a
298 changed files with 271 additions and 570 deletions

View File

@@ -17,7 +17,8 @@ def fire_pilight_message(protocol, data):
HASS.bus.fire(pilight.EVENT, message)
def setup_function(): # pylint: disable=invalid-name
# pylint: disable=invalid-name
def setup_function():
"""Initialize a Home Assistant server."""
global HASS
@@ -25,7 +26,8 @@ def setup_function(): # pylint: disable=invalid-name
HASS.config.components = ['pilight']
def teardown_function(): # pylint: disable=invalid-name
# pylint: disable=invalid-name
def teardown_function():
"""Stop the Home Assistant server."""
HASS.stop()