code: def print_violations(self, violations):
          
          for v in violations:
              line_nr = v.line_nr if v.line_nr else "-"
              self.display.e(u"{0}: {1}".format(line_nr, v.rule_id), exact=True)
              self.display.ee(u"{0}: {1} {2}".format(line_nr, v.rule_id, v.message), exact=True)
              if v.content:
                  self.display.eee(u"{0}: {1} {2}: \"{3}\"".format(line_nr, v.rule_id, v.message, v.content),
                                   exact=True)
              else:
                  self.display.eee(u"{0}: {1} {2}".format(line_nr, v.rule_id, v.message), exact=True)
docs: Print a given set of violations to the standard error output