def report_total_messages_stats(sect, stats, previous_stats):
 lines = ['type', 'number', 'previous', 'difference']
 lines += checkers.table_lines_from_stats(stats, previous_stats, ('convention', 'refactor', 'warning', 'error'))
 sect.append(ureports.Table(children=lines, cols=4, rheaders=1))

def report_total_messages_stats ( sect , stats , previous_stats ) : lines = [ 'type' , 'number' , 'previous' , 'difference' ] lines += checkers . table_lines_from_stats ( stats , previous_stats , ( 'convention' , 'refactor' , 'warning' , 'error' ) ) sect . append ( ureports . Table ( children = lines , cols = 4 , rheaders = 1 ) )
make total errors / warnings report .