@Override
  public boolean isSupported(final @NotNull Class visitorClass, final @NotNull PsiFile file) {
    //if we're in console
    if (PydevConsoleRunnerUtil.isInPydevConsole(file)) {
      //inspections
      if (visitorClass == PyUnusedLocalInspection.class || visitorClass == PyUnboundLocalVariableInspection.class ||
          visitorClass == PyStatementEffectInspection.class || visitorClass == PySingleQuotedDocstringInspection.class ||
          visitorClass == PyIncorrectDocstringInspection.class || visitorClass == PyMissingOrEmptyDocstringInspection.class ||
          visitorClass == PyMandatoryEncodingInspection.class || visitorClass == PyPep8Inspection.class ||
          visitorClass == PyCompatibilityInspection.class) {
        return false;
      }

      //annotators
      if (visitorClass == DocStringAnnotator.class) {
        return false;
      }
    }
    return true;
  }
@Override
  public boolean isSupported(final @NotNull Class visitorClass, final @NotNull PsiFile file)