mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Disable too-many-* (#4107)
* Disable too-many-* and too-few-public-methods * Remove globally disabled pylint warnings
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user