Commit 66199902 authored by Semyon Proshev's avatar Semyon Proshev
Browse files

Improve inspection message (PY-27705, PY-32814)

parent 8a765151
Showing with 5 additions and 3 deletions
+5 -3
......@@ -103,9 +103,11 @@ public class PyInterpreterInspection extends PyInspection {
else {
final LanguageLevel languageLevel = PythonSdkType.getLanguageLevelForSdk(sdk);
if (!LanguageLevel.SUPPORTED_LEVELS.contains(languageLevel)) {
registerProblem(node,
"Python " + languageLevel + " has reached its end-of-life and is no longer supported by " + product,
fixes.toArray(LocalQuickFix.EMPTY_ARRAY));
registerProblem(
node,
"Python " + languageLevel + " has reached its end-of-life date and it is no longer supported in " + product + ".",
fixes.toArray(LocalQuickFix.EMPTY_ARRAY)
);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment