@Override
  public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor) {
    PsiFile file = descriptor.getPsiElement().getContainingFile();
    Document document = PsiDocumentManager.getInstance(project).getDocument(file);
    if (document != null) {
      int tabSize = PythonCodeStyleService.getInstance().getIndentSize(file);
      TextRange allDoc = new TextRange(0, document.getTextLength());
      if (myToSpaces) {
        ConvertIndentsUtil.convertIndentsToSpaces(document, tabSize, allDoc);
      }
      else {
        ConvertIndentsUtil.convertIndentsToTabs(document, tabSize, allDoc);
      }
    }
  }
@Override
  public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor)