def _PrintFileSummary(paths, records):
  """Print a detailed summary of the number of errors in each file."""

  paths = list(paths)
  paths.sort()

  for path in paths:
    path_errors = [e for e in records if e.path == path]
    print (path, len(path_errors)) % '%s: %d'
dataset/ETHPy150Open google/closure-linter/closure_linter/gjslint.py/_PrintFileSummary/swapped operands of `%`