general: fix ignores after mypy version update

This commit is contained in:
karlicoss 2023-10-12 21:42:32 +01:00
parent 0512488241
commit e1d6a77abf
4 changed files with 4 additions and 4 deletions

View file

@ -230,7 +230,7 @@ def get_enlighten():
return Mock()
try:
import enlighten # type: ignore[import]
import enlighten # type: ignore[import-untyped]
except ModuleNotFoundError:
warnings.warn("You might want to 'pip install enlighten' for a nice progress bar")