general/ci: clean up mypy-misc pipeline, only exclude specific files instead

marked some module configs which aren't really ready for public use as type: ignore
This commit is contained in:
Dima Gerasimov 2023-02-20 23:40:13 +00:00 committed by karlicoss
parent eff9c02886
commit c63177e186
15 changed files with 132 additions and 64 deletions

View file

@ -12,7 +12,7 @@ except ImportError as ie:
# must be caused by something else
raise ie
try:
from my.config import twitter as user_config # type: ignore[misc]
from my.config import twitter as user_config # type: ignore[misc,assignment]
except ImportError:
raise ie # raise the original exception.. must be something else
else: