{"action":"closed","number":50423,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/50423","id":64214300,"html_url":"https://github.com/Homebrew/homebrew/pull/50423","diff_url":"https://github.com/Homebrew/homebrew/pull/50423.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/50423.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50423","number":50423,"state":"closed","locked":false,"title":"pre-commit: fix remove unneeded deps","user":{"login":"asottile","id":1810591,"avatar_url":"https://avatars.githubusercontent.com/u/1810591?v=3","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"body":"## From the pre-commit side\r\n\r\nI'm the upstream maintainer :)\r\n\r\nHere's the actual list of (toplevel) dependencies: https://github.com/pre-commit/pre-commit/blob/b1e6063e12242f68392eebc4c08427f2319719e7/setup.py#L41-L49\r\n\r\nExpanded:\r\n```\r\n $ echo 'pre-commit==0.7.6' | visualize-requirements.py /dev/stdin\r\n pre-commit==0.7.6\r\n   - jsonschema\r\n   - aspy.yaml\r\n     - pyyaml\r\n     - ordereddict\r\n   - pyyaml\r\n   - nodeenv>=0.11.1\r\n   - virtualenv\r\n   - cached-property\r\n   - ordereddict\r\n   - argparse\r\n```\r\n\r\n## From the brew side\r\n\r\nI think I did this right?\r\n\r\n```\r\n$ brew test pre-commit\r\nTesting pre-commit\r\n==> Using the sandbox\r\n==> git init\r\n==> /usr/local/Cellar/pre-commit/0.7.6/bin/pre-commit install\r\n==> /usr/local/Cellar/pre-commit/0.7.6/bin/pre-commit run --all-files\r\n$ echo $?\r\n0\r\n$ brew audit pre-commit\r\n$ echo $?\r\n0\r\n```","created_at":"2016-03-25T22:22:27Z","updated_at":"2016-03-26T20:08:19Z","closed_at":"2016-03-26T20:08:19Z","merged_at":null,"merge_commit_sha":"1351c0b4e0b026a28d882de73beffa7dc8eff6f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/50423/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/50423/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/50423/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/7cc5a87174016c4e0e9e3466c59bbf3e686d68ac","head":{"label":"asottile:remove_unneeded_pre_commit_deps","ref":"remove_unneeded_pre_commit_deps","sha":"7cc5a87174016c4e0e9e3466c59bbf3e686d68ac","user":{"login":"asottile","id":1810591,"avatar_url":"https://avatars.githubusercontent.com/u/1810591?v=3","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"repo":{"id":54749185,"name":"homebrew","full_name":"asottile/homebrew","owner":{"login":"asottile","id":1810591,"avatar_url":"https://avatars.githubusercontent.com/u/1810591?v=3","gravatar_id":"","url":"https://api.github.com/users/asottile","html_url":"https://github.com/asottile","followers_url":"https://api.github.com/users/asottile/followers","following_url":"https://api.github.com/users/asottile/following{/other_user}","gists_url":"https://api.github.com/users/asottile/gists{/gist_id}","starred_url":"https://api.github.com/users/asottile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asottile/subscriptions","organizations_url":"https://api.github.com/users/asottile/orgs","repos_url":"https://api.github.com/users/asottile/repos","events_url":"https://api.github.com/users/asottile/events{/privacy}","received_events_url":"https://api.github.com/users/asottile/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asottile/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/asottile/homebrew","forks_url":"https://api.github.com/repos/asottile/homebrew/forks","keys_url":"https://api.github.com/repos/asottile/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asottile/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asottile/homebrew/teams","hooks_url":"https://api.github.com/repos/asottile/homebrew/hooks","issue_events_url":"https://api.github.com/repos/asottile/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/asottile/homebrew/events","assignees_url":"https://api.github.com/repos/asottile/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/asottile/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/asottile/homebrew/tags","blobs_url":"https://api.github.com/repos/asottile/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asottile/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asottile/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/asottile/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asottile/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/asottile/homebrew/languages","stargazers_url":"https://api.github.com/repos/asottile/homebrew/stargazers","contributors_url":"https://api.github.com/repos/asottile/homebrew/contributors","subscribers_url":"https://api.github.com/repos/asottile/homebrew/subscribers","subscription_url":"https://api.github.com/repos/asottile/homebrew/subscription","commits_url":"https://api.github.com/repos/asottile/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/asottile/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/asottile/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/asottile/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/asottile/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/asottile/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asottile/homebrew/merges","archive_url":"https://api.github.com/repos/asottile/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asottile/homebrew/downloads","issues_url":"https://api.github.com/repos/asottile/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/asottile/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/asottile/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/asottile/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asottile/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/asottile/homebrew/releases{/id}","deployments_url":"https://api.github.com/repos/asottile/homebrew/deployments","created_at":"2016-03-25T21:42:49Z","updated_at":"2016-03-25T21:43:09Z","pushed_at":"2016-03-25T22:17:12Z","git_url":"git://github.com/asottile/homebrew.git","ssh_url":"git@github.com:asottile/homebrew.git","clone_url":"https://github.com/asottile/homebrew.git","svn_url":"https://github.com/asottile/homebrew","homepage":"http://brew.sh","size":73613,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"dd1b39a7da5f310945c0839bb1fc3abc10b477da","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew/deployments","created_at":"2009-05-20T19:38:37Z","updated_at":"2016-03-26T20:02:14Z","pushed_at":"2016-03-26T20:06:13Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1430194,"stargazers_count":29939,"watchers_count":29939,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":14672,"mirror_url":null,"open_issues_count":454,"forks":14672,"open_issues":454,"watchers":29939,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/50423"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/50423"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/50423"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/50423/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/50423/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/50423/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/7cc5a87174016c4e0e9e3466c59bbf3e686d68ac"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":0,"deletions":35,"changed_files":1}}