Narrow scope of various pylint inline disables (#15364)
* Narrow scope of various pylint inline disables * Whitespace tweaks
This commit is contained in:
1 parent
78c38749ab
commit
707b7c202d
30 files changed
+52
-75
No files matched your search
@@ -38,8 +38,7 @@ class HomeKitLight(HomeKitEntity, Light):
|
||||
|
||||
def update_characteristics(self, characteristics):
|
||||
"""Synchronise light state with Home Assistant."""
|
||||
# pylint: disable=import-error
|
||||
import homekit
|
||||
import homekit # pylint: disable=import-error
|
||||
|
||||
for characteristic in characteristics:
|
||||
ctype = characteristic['type']
|
||||
|
||||
Reference in new issue
Block a user