Pylint 2 fixes (#15487)
* pylint 2 inline disable syntax fixes * pylint 2 logging-not-lazy fixes * pylint 2 consider-using-in fixes * Revert pylint 2 inline disable syntax fixes addressing unused-imports Will have a go at removing more unused imports altogether first.
This commit is contained in:
1 parent
d2f4bce6c0
commit
e31dd4404e
33 files changed
+55
-73
No files matched your search
@@ -62,7 +62,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
"""Set up the MiFlora sensor."""
|
||||
from miflora import miflora_poller
|
||||
try:
|
||||
import bluepy.btle # noqa: F401 # pylint: disable=unused-variable
|
||||
import bluepy.btle # noqa: F401 pylint: disable=unused-variable
|
||||
from btlewrap import BluepyBackend
|
||||
backend = BluepyBackend
|
||||
except ImportError:
|
||||
|
||||
Reference in new issue
Block a user