Make linter ignore these imports

This commit is contained in:
Matt 2021-05-16 21:43:08 -04:00
parent 405a0038a3
commit a4e024634f

View file

@ -12,9 +12,9 @@ from helper import LazyLogger
# If numpy is installed, the websockets library tries to use it, and then
# kodi hard crashes for reasons I don't even want to pretend to understand
import sys
import sys # noqa: E402
sys.modules['numpy'] = None
import websocket
import websocket # noqa: E402
##################################################################################################