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:
parent
eff9c02886
commit
c63177e186
15 changed files with 132 additions and 64 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue