def print_violations(self, violations):
for v in violations:<EOL><INDENT>line_nr = v.line_nr if v.line_nr else "<STR_LIT:->"<EOL>self.display.e(u"<STR_LIT>".format(line_nr, v.rule_id), exact=True)<EOL>self.display.ee(u"<STR_LIT>".format(line_nr, v.rule_id, v.message), exact=True)<EOL>if v.content:<EOL><INDENT>self.display.eee(u"<STR_LIT>".format(line_nr, v.rule_id, v.message, v.content),<EOL>exact=True)<EOL><DEDENT>else:<EOL><INDENT>self.display.eee(u"<STR_LIT>".format(line_nr, v.rule_id, v.message), exact=True)<EOL><DEDENT><DEDENT>
Print a given set of violations to the standard error output