Upgrade pylint to 2.2.2 (#18750)

* Upgrade to 2.2.0

* simplifiable-if-expression fixes

* duplicate-string-formatting-argument fixes

* unused-import fixes

* Upgrade to 2.2.1

* Remove no longer needed disable

* Upgrade to 2.2.2
This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2018-12-06 11:54:44 +01:00
1 parent 04c7d5c128
commit 1be440a72b
19 files changed
+35 -40

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
"""Set up the MiTempBt sensor."""
from mitemp_bt import mitemp_bt_poller
try:
import bluepy.btle # noqa: F401 pylint: disable=unused-variable
import bluepy.btle # noqa: F401 pylint: disable=unused-import
from btlewrap import BluepyBackend
backend = BluepyBackend
except ImportError: