More pylint 2 fixes (#15565)

## Description:

More fixes flagged by pylint 2 that don't hurt to have before the actual pylint 2 upgrade (which I'll submit soon).

## Checklist:
  - [ ] The code change is tested and works locally.
  - [x] Local tests pass with `tox`. **Your PR cannot be merged unless tests pass**
This commit is contained in:
Ville Skyttä 2018-07-20 11:45:20 +03:00 committed by Andrey
parent ea18e06b08
commit 2f7b79764a
242 changed files with 284 additions and 284 deletions

View file

@ -130,7 +130,7 @@ def setup(hass, config) -> bool:
return True
class RachioPerson(object):
class RachioPerson:
"""Represent a Rachio user."""
def __init__(self, hass, rachio):
@ -162,7 +162,7 @@ class RachioPerson(object):
return self._controllers
class RachioIro(object):
class RachioIro:
"""Represent a Rachio Iro."""
def __init__(self, hass, rachio, data):