'Prints the results represented by this rule violation.
Arguments:
options: A list of the following options:
list_files: True to print only file names, and False to print
all violations.
verbose: True for multiple lines of context, False single line.
out: output file'

def print_results(self, options, out):

    if options['verbose']:
        end_line = (self.end_line + 1)
    else:
        end_line = (self.start_line + 1)
    for line_number in range(self.start_line, end_line):
        if (line_number == self.start_line):
            column = self.start_column
            rule_id = (self.rule.rule_id + ':')
        else:
            column = 1
            rule_id = ('    ' * (len(self.rule.rule_id) + 1))
        line = self.lines[(line_number - self.start_line)].encode(encoding='utf-8')
        print('{}:    {}:{}:    {}    {}'.format(self.full_path, line_number, column, rule_id, line), file=out)
