If you use Python 2 and Python 3 in a codebase, and run mypy against it with both, --warn-unused-ignores will warn about issues present in only one or the other.
A reasonable fix might be to add a type: ignore2 / type: ignore3 that one can use in this sort of situation?
If you use Python 2 and Python 3 in a codebase, and run mypy against it with both,
--warn-unused-ignoreswill warn about issues present in only one or the other.A reasonable fix might be to add a
type: ignore2/type: ignore3that one can use in this sort of situation?