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

@ -46,7 +46,6 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
add_devices([CommandSensor(hass, data, name, unit, value_template)])
# pylint: disable=too-many-arguments
class CommandSensor(Entity):
"""Representation of a sensor that is using shell commands."""
@ -89,7 +88,6 @@ class CommandSensor(Entity):
self._state = value
# pylint: disable=too-few-public-methods
class CommandSensorData(object):
"""The class for handling the data retrieval."""