parameters: (filename, file_lines)
docstring: Checks if file ends in newline
docstring_summary: Checks if file ends in newline
docstring_tokens: Checks if file ends in newline
function: def check_last_line_newline(filename, file_lines):
      """
      Checks if file ends in newline
      """
      if len(file_lines) > 0 and file_lines[-1] != "\n":
          common.log_warning("check_last_line_newline", filename, len(file_lines), "no newline at end of file")
function_tokens: def check_last_line_newline ( filename , file_lines ) : if len ( file_lines ) > 0 and file_lines [ - 1 ] != "\n" : common . log_warning ( "check_last_line_newline" , filename , len ( file_lines ) , "no newline at end of file" )