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

@ -1,5 +1,5 @@
"""The tests for the Home Assistant API component."""
# pylint: disable=protected-access,too-many-public-methods
# pylint: disable=protected-access
import asyncio
from contextlib import closing
import json
@ -32,7 +32,8 @@ def _url(path=""):
return HTTP_BASE_URL + path
def setUpModule(): # pylint: disable=invalid-name
# pylint: disable=invalid-name
def setUpModule():
"""Initialize a Home Assistant server."""
global hass
@ -52,7 +53,8 @@ def setUpModule(): # pylint: disable=invalid-name
time.sleep(0.05)
def tearDownModule(): # pylint: disable=invalid-name
# pylint: disable=invalid-name
def tearDownModule():
"""Stop the Home Assistant server."""
hass.stop()