

def get_vexrc(options, environ):
    'Get a representation of the contents of the config file.\n\n    :returns:\n        a Vexrc instance.\n    '
    if (options.config and (not os.path.exists(vexrc.config))):
        raise exceptions.InvalidVexrc('nonexistent config: {0!r}'.format(options.config))
    filename = (options.config or os.path.expanduser('~/.vexrc'))
    vexrc = config.Vexrc.from_file(filename, environ)
    return vexrc

dataset/ETHPy150Open sashahart/vex/vex/main.py get_vexrc/VarMisuse@28/71 `options`->`vexrc`