From a2d9fbcd42471ea9416a9aeec2a10d8eb5eda30e Mon Sep 17 00:00:00 2001 From: Peter Law Date: Fri, 24 Jul 2020 19:50:59 +0100 Subject: [PATCH] Ignore this runtime-only import I've queried this in https://github.com/python/typeshed/issues/4360, though I suspect the answer is going to be to have an ignore comment like this. --- jedi/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi/utils.py b/jedi/utils.py index 631cf473..d70cbd16 100644 --- a/jedi/utils.py +++ b/jedi/utils.py @@ -2,7 +2,7 @@ Utilities for end-users. """ -import __main__ +import __main__ # type: ignore[import] from collections import namedtuple import logging import traceback