#NEWLINE# def get_pull_request_files( project , num , auth = False ) : #NEWLINE# #INDENT# 'get list of files in a pull request' #NEWLINE# url = 'https://api.github.com/repos/{project}/pulls/{num}/files' . format ( project = project , num = num ) #NEWLINE# if auth : #NEWLINE# #INDENT# header = make_auth_header ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# header = None #NEWLINE# #UNINDENT# return get_paged_request ( url , headers = header )