def _pep8_violations(report_file):
 with open(report_file) as f:
  violations_list = f.readlines()
 num_lines = len(violations_list)
 return (num_lines, violations_list)

def _pep8_violations ( report_file ) : with open ( report_file ) as f : violations_list = f . readlines ( ) num_lines = len ( violations_list ) return ( num_lines , violations_list )
returns a tuple of for all pep8 violations in the given report_file .