Disable too-many-* (#4107)

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

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

No files matched your search

-3
View File
@@ -41,7 +41,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
})
# pylint: disable=unused-variable, too-many-locals
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Setup the RESTful sensor."""
name = config.get(CONF_NAME)
@@ -74,7 +73,6 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
add_devices([RestSensor(hass, rest, name, unit, value_template)])
# pylint: disable=too-many-arguments
class RestSensor(Entity):
"""Implementation of a REST sensor."""
@@ -117,7 +115,6 @@ class RestSensor(Entity):
self._state = value
# pylint: disable=too-few-public-methods
class RestData(object):
"""Class for handling the data retrieval."""