From 93d2c5152b9cff65d9b0ce3fea3fced0aab61477 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 25 Nov 2024 00:29:56 +0100 Subject: [PATCH] Fix mypy issue with jinja2 import. --- install_to_share/ytplom/misc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_to_share/ytplom/misc.py b/install_to_share/ytplom/misc.py index 0c2777e..f57eee2 100644 --- a/install_to_share/ytplom/misc.py +++ b/install_to_share/ytplom/misc.py @@ -16,7 +16,8 @@ from urllib.parse import urlparse, parse_qs from urllib.request import urlretrieve from urllib.error import HTTPError # non-included libs -from jinja2 import Environment as JinjaEnv, FileSystemLoader as JinjaFSLoader +from jinja2 import ( # type: ignore + Environment as JinjaEnv, FileSystemLoader as JinjaFSLoader) from mpv import MPV # type: ignore from yt_dlp import YoutubeDL # type: ignore import googleapiclient.discovery # type: ignore -- 2.30.2