general: update mypy config, seems that logs of type: ignore aren't necessary anymore
This commit is contained in:
parent
a445d2cbfe
commit
c34656e8fb
52 changed files with 142 additions and 105 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,assignment]
|
||||
from my.config import twitter as user_config # type: ignore[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