Lint cleanup (#15103)

* Remove unneeded inline pylint disables

* Remove unneeded noqa's

* Use symbol names instead of message ids in inline pylint disables
This commit is contained in:
Ville Skyttä 2018-06-25 20:05:07 +03:00 committed by Paulus Schoutsen
parent 6c0fc65eaf
commit b92350fb55
137 changed files with 58 additions and 209 deletions

View file

@ -121,7 +121,6 @@ class BitcoinSensor(Entity):
stats = self.data.stats
ticker = self.data.ticker
# pylint: disable=no-member
if self.type == 'exchangerate':
self._state = ticker[self._currency].p15min
self._unit_of_measurement = self._currency