@contextlib.contextmanager
def _custom_unlink(env, brew_cmd, pkg):
    unlinks = {"lumpy-sv": ["bamtools"]}
    for upkg in unlinks.get(pkg, []):
        _safe_unlink_pkg(env, upkg, brew_cmd)
    try:
        yield None
    finally:
        for upkg in unlinks.get(pkg, []):
            with settings(warn_only=True):
                with quiet():
                    env.safe_run("%s link --overwrite %s" % (brew_cmd, upkg))
Ensure that if not _type is in options, that it defaults to
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/package/brew.py/_custom_unlink--crossover with--dataset/ETHPy150Open Workiva/furious/furious/tests/test_async.py/TestAsyncFromOptions.test_no_type