def ignore_code(code):
    for ignore in options.ignore:
        if code.startswith(ignore):
            return True
Check if options.ignore contains a prefix of the error code.
dataset/ETHPy150Open sahana/eden/static/scripts/tools/pep8.py/ignore_code