general: fix ignores after mypy version update
This commit is contained in:
parent
0512488241
commit
e1d6a77abf
4 changed files with 4 additions and 4 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue