From: Christian Heller Date: Sun, 24 Nov 2024 23:29:56 +0000 (+0100) Subject: Fix mypy issue with jinja2 import. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/condition?a=commitdiff_plain;h=93d2c5152b9cff65d9b0ce3fea3fced0aab61477;p=ytplom Fix mypy issue with jinja2 import. --- 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