Enable pylint global-statement (#33641)

This commit is contained in:
Franck Nijhof 2020-04-04 20:10:55 +02:00 committed by GitHub
parent 187b6525b4
commit 71a47fc80c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 19 additions and 20 deletions

View file

@ -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):