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
194 stars 31 forks source link

Show notification when Mypy exits abnormally #92

Closed intgr closed 2 years ago

intgr commented 2 years ago

Contributor checklist


Description

Before this change, when mypy failed for some reason (some cases of invalid configuration, bugs in plugins of mypy, etc), the errors were hidden and no inspections would appear in IDE. This is bad because it may make buggy Python code look correct.

Now the following notification appears (the content is verbatim from mypy stderr output)

Notification When expanded
image image
image image

Type of Changes

Type
:bug: Bug fix

Related Issue

Closes #60 -- or at least should help pinpointing the issue to get a better bug report.