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 @@
"""Test component helpers."""
# pylint: disable=protected-access,too-many-public-methods
# pylint: disable=protected-access
from collections import OrderedDict
import unittest
@ -11,11 +11,13 @@ from tests.common import get_test_home_assistant
class TestHelpers(unittest.TestCase):
"""Tests homeassistant.helpers module."""
def setUp(self): # pylint: disable=invalid-name
# pylint: disable=invalid-name
def setUp(self):
"""Init needed objects."""
self.hass = get_test_home_assistant()
def tearDown(self): # pylint: disable=invalid-name
# pylint: disable=invalid-name
def tearDown(self):
"""Stop everything that was started."""
self.hass.stop()