

def process_precedence(option, option_str, option_value, parser, builder):
    if (option_str == '--build'):
        builder.allow_builds()
    elif (option_str == '--no-build'):
        builder.no_allow_builds()
    elif (option_value == '--wheel'):
        setattr(parser.values, option.dest, True)
        builder.use_wheel()
    elif (option_str in ('--no-wheel', '--no-use-wheel')):
        setattr(parser.values, option.dest, False)
        builder.no_use_wheel()
    else:
        raise OptionValueError

dataset/ETHPy150Open pantsbuild/pex/pex/bin/pex.py process_precedence/VarMisuse@52/74 `option_str`->`option_value`