From 65218ede1c9da63f85e1e2a3a8a835802042533f Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Sat, 19 Feb 2022 14:58:45 +0200 Subject: [PATCH] Change default inspection level to ERROR 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. --- src/main/resources/META-INF/plugin.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 1bd992b..5c93226 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -54,7 +54,7 @@ key="inspection.display-name" groupKey="inspection.group" shortName="Mypy" - level="WARNING" + level="ERROR" unfair="true" enabledByDefault="true"/>