

def update_error_status(status_url, message, filenames, github_auth):
    ' Push error status for head commit to Github status API.\n    '
    status = dict(context='openaddresses/hooked', state='error', description='Errored on {}: {}'.format(', '.join(filenames), message))
    return post_github_status(status_url, status, github_auth)

dataset/ETHPy150Open openaddresses/machine/openaddr/ci/__init__.py update_error_status/original