mypy
mypy copied to clipboard
`warn-unused-ignores` errors don't have a column number
1 # type:ignore[misc]
foo: int = ""
main.py:1: error: Unused "type: ignore" comment
main.py:2:12: error: Incompatible types in assignment (expression has type "str", variable has type "int") [assignment]
this is causing the new vscode mypy extension to not display unused ignore errors, see https://github.com/microsoft/vscode-mypy/issues/35#issuecomment-1595030440
apparently that's not the only error that doesn't have column numbers, but i'm not sure what other ones there are
It also doesn't include an error code.