From a4e024634f5e0c43ef219e4f0bc785820b108140 Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 16 May 2021 21:43:08 -0400 Subject: [PATCH] Make linter ignore these imports --- jellyfin_kodi/jellyfin/ws_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jellyfin_kodi/jellyfin/ws_client.py b/jellyfin_kodi/jellyfin/ws_client.py index 6c80d9b4..6553f615 100644 --- a/jellyfin_kodi/jellyfin/ws_client.py +++ b/jellyfin_kodi/jellyfin/ws_client.py @@ -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 ##################################################################################################