Add # type: ignore for click._unicodefun import (#2981)
This commit is contained in:
parent
3dea6e3635
commit
a66016cb94
@ -1435,7 +1435,9 @@ def patch_click() -> None:
|
|||||||
else:
|
else:
|
||||||
modules.append(core)
|
modules.append(core)
|
||||||
try:
|
try:
|
||||||
from click import _unicodefun
|
# Removed in Click 8.1.0 and newer; we keep this around for users who have
|
||||||
|
# older versions installed.
|
||||||
|
from click import _unicodefun # type: ignore
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user