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:
1 parent
ea18e06b08
commit
2f7b79764a
242 files changed
+284
-284
No files matched your search
@@ -52,7 +52,7 @@ def setup(hass, config):
|
||||
return True
|
||||
|
||||
|
||||
class NuimoLogger(object):
|
||||
class NuimoLogger:
|
||||
"""Handle Nuimo Controller event callbacks."""
|
||||
|
||||
def __init__(self, hass, name):
|
||||
@@ -167,7 +167,7 @@ HOMEASSIST_LOGO = (
|
||||
".........")
|
||||
|
||||
|
||||
class DiscoveryLogger(object):
|
||||
class DiscoveryLogger:
|
||||
"""Handle Nuimo Discovery callbacks."""
|
||||
|
||||
# pylint: disable=no-self-use
|
||||
|
||||
Reference in new issue
Block a user