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

@ -42,7 +42,7 @@ __all__ = [
# you could put _init_hook.py next to your private my/config
# that way you can configure logging/warnings/env variables on every HPI import
try:
import my._init_hook # type: ignore[import]
import my._init_hook # type: ignore[import-not-found]
except:
pass
##