Enable pylint global-statement (#33641)
This commit is contained in:
parent
187b6525b4
commit
71a47fc80c
12 changed files with 19 additions and 20 deletions
|
@ -28,7 +28,7 @@ def setup(hass, config):
|
|||
|
||||
port = config[DOMAIN][CONF_PORT]
|
||||
|
||||
global BOARD
|
||||
global BOARD # pylint: disable=global-statement
|
||||
try:
|
||||
BOARD = ArduinoBoard(port)
|
||||
except (serial.serialutil.SerialException, FileNotFoundError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue