Closed themousepotato closed 5 years ago
Replace function get_commits(username, repo_name) which returns int(commits) with get_attributes(username, repo_name) which returns
get_commits(username, repo_name)
int(commits)
get_attributes(username, repo_name)
dict({'commits' : int(commits), 'additions' : int(additions), 'deletions' : int(deletions), 'prs_open' : int(prs_open), 'prs_closed' : int(prs_closed), 'prs_merged' : int(prs_merged)})
LGTM; I would merge and see what else is needed to worked upon.
Replace function
get_commits(username, repo_name)
which returnsint(commits)
withget_attributes(username, repo_name)
which returns