def repr_args(args, kwargs):
    """Stringify a set of arguments.

    Arguments:
        args: tuple of arguments as a function would see it.
        kwargs: dictionary of keyword arguments as a function would see it.
    Returns:
        String as you would write it in a script.
    """
    args_s = ("{}, " if kwargs else "{}").format(", ".join(map(repr, args))) if args else ""  # noqa
    kws = ", ".join(["{}={!r}".format(it[0], it[1]) for it in kwargs.items()])
    return str(args_s) + str(kws)