

def update_failing_status(status_url, job_url, bad_files, filenames, github_auth):
    ' Push failing status for head commit to Github status API.\n    '
    status = dict(context='openaddresses/hooked', state='failure', description='Failed on {} from {}'.format(', '.join(bad_files), ', '.join(filenames)), target_url=job_url)
    return post_github_status(status_url, status, github_auth)

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