PY-12360 Always show PEP8's W292 in editor as before

This commit is contained in:
Mikhail Golubev
2015-04-27 20:34:50 +03:00
parent 9ade99af07
commit a8e89d53cb
@@ -320,10 +320,6 @@ public class Pep8ExternalAnnotator extends ExternalAnnotator<Pep8ExternalAnnotat
return true;
}
}
// W292 no newline at end of file
if (editorSettings.isEnsureNewLineAtEOF() && problem.myCode.equals("W292")) {
return true;
}
final CodeStyleSettings codeStyleSettings = CodeStyleSettingsManager.getSettings(project);
final CommonCodeStyleSettings commonSettings = codeStyleSettings.getCommonSettings(PythonLanguage.getInstance());