private static boolean shouldPreserveFormatting(@NotNull PyExpression expression) {
      // A collection literal in brackets
      if (expression instanceof PyParenthesizedExpression) {
        return ((PyParenthesizedExpression)expression).getContainedExpression() instanceof PyTupleExpression;
      }
      return expression instanceof PySequenceExpression && !(expression instanceof PyTupleExpression);
    }
private static boolean shouldPreserveFormatting(@NotNull PyExpression expression)