'Init method.
Arguments:
file_contents: The contents of the Python file.
results: A file results objects to which violations will be added.'

def __init__(self, file_contents, results):

    super(BaseVisitor, self).__init__()
    self.file_contents = file_contents
    self.lines = StringLines(self.file_contents)
    self.results = results
