def _process_file(full_path, template_linters, options, summary_results, out):
 num_violations = 0
 directory = os.path.dirname(full_path)
 file_name = os.path.basename(full_path)
 for template_linter in template_linters:
  results = template_linter.process_file(directory, file_name)
  results.print_results(options, summary_results, out)

def _process_file ( full_path , template_linters , options , summary_results , out ) : num_violations = 0 directory = os . path . dirname ( full_path ) file_name = os . path . basename ( full_path ) for template_linter in template_linters : results = template_linter . process_file ( directory , file_name ) results . print_results ( options , summary_results , out )
for each linter .