leinardi / mypy-pycharm

A plugin providing both real-time and on-demand scanning of Python files with Mypy from within PyCharm/IDEA.
Apache License 2.0
188 stars 30 forks source link

Fix display of error messages with colon #75

Closed intgr closed 2 years ago

intgr commented 2 years ago

Previously error message was truncated where a colon appeared.

Before:

Dict entry 0 has incompatible type "int"

After

Dict entry 0 has incompatible type "int": "str"; expected "int": "int"  [dict-item]

First time contributor checklist

Contributor checklist

I have no idea how to make gradle check pass, but the errors don't seem to be caused by my changes.


Description

Type of Changes

Type
:bug: Bug fix
leinardi commented 2 years ago

Thank you for the bug fix!