def METHOD_NAME(env):
    """Return the default target `main` configured in the supplied
    configuration file."""
    METHOD_NAME = env.get_target()
    if METHOD_NAME is None:
        raise UserError("Using target fixture without 'main' target in config")
    return METHOD_NAME