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
|
@ -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
|
||||
##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue