def report(location, document):
    assert isinstance(location, six.string_types)

    if location.endswith('.py'):
        return report_pyflakes(document)
    else:
        return []
This reads the contents of a batch-file.  Filename is considered
dataset/ETHPy150Open jonathanslenders/pyvim/pyvim/reporting.py/report--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/utils/batchprocessors.py/read_batchfile