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

Change default inspection level to ERROR #91

Closed intgr closed 2 years ago

intgr commented 2 years ago

Contributor checklist


Description

This was briefly discussed in https://github.com/leinardi/mypy-pycharm/pull/77#issuecomment-986020433 but reverted from that MR.

I have found that separating mypy inspections from PyCharm's own type checker is helpful, because PyCharm is more prone to false positives.

It's also familiar to users of IDEA TypeScript integration.

Before After
image image

It can also be changed from settings:

image

Type of Changes

Type
:sparkles: New feature