def get_linter_output(self, linter_name, file_path):
        cache_path = os.path.expanduser('~/.git-lint/cache')
        filename = os.path.join(cache_path, linter_name, file_path[1:])
        if not os.path.exists(filename):
            return 'No git-lint cache found for %s' % filename

        with open(filename) as f:
            output = f.read()
        return output

    # TODO(skreft): check that the first file has more than 1 error, check that
    # the second file has 1 new error, check also the lines that changed.
dataset/ETHPy150Open sk-/git-lint/test/e2etest/test_e2e.py/E2EBase.get_linter_output/original