def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def format_results(dest_dir, distros, day):
    subprocess.check_call(
        [
            "/snap/bin/autopkgtest-results-formatter",
            "--destination",
            dest_dir,
            "--distros",
            *distros,
            "--day",
            day,
        ]
    )