Remove globally disable pylint issue (#4565)

This commit is contained in:
Fabian Affolter 2016-11-24 12:25:01 +01:00 committed by GitHub
parent 345008c673
commit 84040892df

View File

@ -10,12 +10,12 @@ from datetime import timedelta
import requests
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import (
CONF_HOST, CONF_PORT, STATE_UNKNOWN, CONF_NAME, CONF_RESOURCES)
from homeassistant.helpers.entity import Entity
from homeassistant.util import Throttle
import homeassistant.helpers.config_validation as cv
_LOGGER = logging.getLogger(__name__)
_RESOURCE = 'api/2/all'
@ -104,7 +104,6 @@ class GlancesSensor(Entity):
"""Return the unit the value is expressed in."""
return self._unit_of_measurement
# pylint: disable=too-many-return-statements
@property
def state(self):
"""Return the state of the resources."""