Narrow scope of various pylint inline disables (#15364)
* Narrow scope of various pylint inline disables * Whitespace tweaks
This commit is contained in:
parent
78c38749ab
commit
707b7c202d
30 changed files with 52 additions and 75 deletions
|
@ -32,8 +32,7 @@ class HomeKitSwitch(HomeKitEntity, SwitchDevice):
|
|||
|
||||
def update_characteristics(self, characteristics):
|
||||
"""Synchronise the switch state with Home Assistant."""
|
||||
# pylint: disable=import-error
|
||||
import homekit
|
||||
import homekit # pylint: disable=import-error
|
||||
|
||||
for characteristic in characteristics:
|
||||
ctype = characteristic['type']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue