You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an error in Black. In general, type ignores are per-line, and Black should not move them. In this case, the type ignore is on a different line after formatting, so the error is no longer ignored.
I have a this code:
when I launch black this code become:
When
# type: ignore
is on multiple line mypy ignore it and raise an errorUnsupported operand types for < (\"str\" and \"int\")
I'm using mypy 0.74 on python 3.7.4
Mypy is launch with
--ignore-missing-imports --follow-imports=silent --show-column-numbers
Thanks for your help :)
The text was updated successfully, but these errors were encountered: