PY-19119 "PEP 8 coding style violations" inspection is disabled for injected fragments
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Sat, 9 Jul 2016 16:38:29 +0000 (19:38 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 11 Jul 2016 10:56:06 +0000 (13:56 +0300)
python/src/com/jetbrains/python/documentation/doctest/PyDocstringVisitorFilter.java

index 29226b0d2759c73252fff0947689ad077ece7061..9f40a5d89797f5373dbb589a30d4b70bdd3c3882 100644 (file)
@@ -44,7 +44,7 @@ public class PyDocstringVisitorFilter implements PythonVisitorFilter {
         visitorClass == PyPackageRequirementsInspection.class || visitorClass == PyMandatoryEncodingInspection.class ||
         visitorClass == PyInterpreterInspection.class || visitorClass == PyDocstringTypesInspection.class ||
         visitorClass == PySingleQuotedDocstringInspection.class || visitorClass == PyClassHasNoInitInspection.class || 
-        visitorClass == PyStatementEffectInspection.class) {
+        visitorClass == PyStatementEffectInspection.class || visitorClass == PyPep8Inspection.class) {
       return false;
     }
     //annotators