There are a few mypy diagnostics which currently slip through pylsp-mypy's reporting because even with the --show-column-numbers and --show-error-end those messages do not include a full column and end range.
A good example is the output of --warn-unused-ignores:
This commit adds a second line-regexp that catches mypy diagnostics which only include a starting line but have no column or end marker and maps them to an error in the first column of that line.
There are a few mypy diagnostics which currently slip through pylsp-mypy's reporting because even with the
--show-column-numbers
and--show-error-end
those messages do not include a full column and end range.A good example is the output of
--warn-unused-ignores
:This commit adds a second line-regexp that catches mypy diagnostics which only include a starting line but have no column or end marker and maps them to an error in the first column of that line.