{"action":"created","comment":{"url":"https://api.github.com/repos/pre-commit/pre-commit/pulls/comments/233267644","pull_request_review_id":174642118,"id":233267644,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzI2NzY0NA==","diff_hunk":"@@ -14,6 +14,7 @@\n from pre_commit.clientlib import is_local_repo\n from pre_commit.clientlib import is_meta_repo\n from pre_commit.clientlib import load_config\n+from pre_commit.clientlib import InvalidManifestError","path":"pre_commit/commands/autoupdate.py","position":4,"original_position":4,"commit_id":"bf8c8521cdf26006eff64bb2d4a35b77dcb0667a","original_commit_id":"bf8c8521cdf26006eff64bb2d4a35b77dcb0667a","user":{"login":"asottile","id":1810591,"node_id":"MDQ6VXNlcjE4MTA1OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1810591?v=4","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":"`pre-commit install` and then `pre-commit run --all-files` ;) (it'll fix the import ordering issue for you automatically, and enforce it on commits after that!)","created_at":"2018-11-13T23:50:34Z","updated_at":"2018-11-13T23:50:52Z","html_url":"https://github.com/pre-commit/pre-commit/pull/857#discussion_r233267644","pull_request_url":"https://api.github.com/repos/pre-commit/pre-commit/pulls/857","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pre-commit/pre-commit/pulls/comments/233267644"},"html":{"href":"https://github.com/pre-commit/pre-commit/pull/857#discussion_r233267644"},"pull_request":{"href":"https://api.github.com/repos/pre-commit/pre-commit/pulls/857"}}},"pull_request":{"url":"https://api.github.com/repos/pre-commit/pre-commit/pulls/857","id":227360501,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MzYwNTAx","html_url":"https://github.com/pre-commit/pre-commit/pull/857","diff_url":"https://github.com/pre-commit/pre-commit/pull/857.diff","patch_url":"https://github.com/pre-commit/pre-commit/pull/857.patch","issue_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/857","number":857,"state":"open","locked":false,"title":"Reraises InvalidManifestError as RepositoryCannotBeUpdatedError","user":{"login":"runz0rd","id":11473751,"node_id":"MDQ6VXNlcjExNDczNzUx","avatar_url":"https://avatars2.githubusercontent.com/u/11473751?v=4","gravatar_id":"","url":"https://api.github.com/users/runz0rd","html_url":"https://github.com/runz0rd","followers_url":"https://api.github.com/users/runz0rd/followers","following_url":"https://api.github.com/users/runz0rd/following{/other_user}","gists_url":"https://api.github.com/users/runz0rd/gists{/gist_id}","starred_url":"https://api.github.com/users/runz0rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runz0rd/subscriptions","organizations_url":"https://api.github.com/users/runz0rd/orgs","repos_url":"https://api.github.com/users/runz0rd/repos","events_url":"https://api.github.com/users/runz0rd/events{/privacy}","received_events_url":"https://api.github.com/users/runz0rd/received_events","type":"User","site_admin":false},"body":"For #856","created_at":"2018-10-31T16:40:53Z","updated_at":"2018-11-13T23:50:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b526f6612224b11b66ce8dc467013f1992a07898","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pre-commit/pre-commit/pulls/857/commits","review_comments_url":"https://api.github.com/repos/pre-commit/pre-commit/pulls/857/comments","review_comment_url":"https://api.github.com/repos/pre-commit/pre-commit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/857/comments","statuses_url":"https://api.github.com/repos/pre-commit/pre-commit/statuses/bf8c8521cdf26006eff64bb2d4a35b77dcb0667a","head":{"label":"runz0rd:master","ref":"master","sha":"bf8c8521cdf26006eff64bb2d4a35b77dcb0667a","user":{"login":"runz0rd","id":11473751,"node_id":"MDQ6VXNlcjExNDczNzUx","avatar_url":"https://avatars2.githubusercontent.com/u/11473751?v=4","gravatar_id":"","url":"https://api.github.com/users/runz0rd","html_url":"https://github.com/runz0rd","followers_url":"https://api.github.com/users/runz0rd/followers","following_url":"https://api.github.com/users/runz0rd/following{/other_user}","gists_url":"https://api.github.com/users/runz0rd/gists{/gist_id}","starred_url":"https://api.github.com/users/runz0rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runz0rd/subscriptions","organizations_url":"https://api.github.com/users/runz0rd/orgs","repos_url":"https://api.github.com/users/runz0rd/repos","events_url":"https://api.github.com/users/runz0rd/events{/privacy}","received_events_url":"https://api.github.com/users/runz0rd/received_events","type":"User","site_admin":false},"repo":{"id":155590004,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU1OTAwMDQ=","name":"pre-commit","full_name":"runz0rd/pre-commit","private":false,"owner":{"login":"runz0rd","id":11473751,"node_id":"MDQ6VXNlcjExNDczNzUx","avatar_url":"https://avatars2.githubusercontent.com/u/11473751?v=4","gravatar_id":"","url":"https://api.github.com/users/runz0rd","html_url":"https://github.com/runz0rd","followers_url":"https://api.github.com/users/runz0rd/followers","following_url":"https://api.github.com/users/runz0rd/following{/other_user}","gists_url":"https://api.github.com/users/runz0rd/gists{/gist_id}","starred_url":"https://api.github.com/users/runz0rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runz0rd/subscriptions","organizations_url":"https://api.github.com/users/runz0rd/orgs","repos_url":"https://api.github.com/users/runz0rd/repos","events_url":"https://api.github.com/users/runz0rd/events{/privacy}","received_events_url":"https://api.github.com/users/runz0rd/received_events","type":"User","site_admin":false},"html_url":"https://github.com/runz0rd/pre-commit","description":"A framework for managing and maintaining multi-language pre-commit hooks.","fork":true,"url":"https://api.github.com/repos/runz0rd/pre-commit","forks_url":"https://api.github.com/repos/runz0rd/pre-commit/forks","keys_url":"https://api.github.com/repos/runz0rd/pre-commit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runz0rd/pre-commit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runz0rd/pre-commit/teams","hooks_url":"https://api.github.com/repos/runz0rd/pre-commit/hooks","issue_events_url":"https://api.github.com/repos/runz0rd/pre-commit/issues/events{/number}","events_url":"https://api.github.com/repos/runz0rd/pre-commit/events","assignees_url":"https://api.github.com/repos/runz0rd/pre-commit/assignees{/user}","branches_url":"https://api.github.com/repos/runz0rd/pre-commit/branches{/branch}","tags_url":"https://api.github.com/repos/runz0rd/pre-commit/tags","blobs_url":"https://api.github.com/repos/runz0rd/pre-commit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runz0rd/pre-commit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runz0rd/pre-commit/git/refs{/sha}","trees_url":"https://api.github.com/repos/runz0rd/pre-commit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runz0rd/pre-commit/statuses/{sha}","languages_url":"https://api.github.com/repos/runz0rd/pre-commit/languages","stargazers_url":"https://api.github.com/repos/runz0rd/pre-commit/stargazers","contributors_url":"https://api.github.com/repos/runz0rd/pre-commit/contributors","subscribers_url":"https://api.github.com/repos/runz0rd/pre-commit/subscribers","subscription_url":"https://api.github.com/repos/runz0rd/pre-commit/subscription","commits_url":"https://api.github.com/repos/runz0rd/pre-commit/commits{/sha}","git_commits_url":"https://api.github.com/repos/runz0rd/pre-commit/git/commits{/sha}","comments_url":"https://api.github.com/repos/runz0rd/pre-commit/comments{/number}","issue_comment_url":"https://api.github.com/repos/runz0rd/pre-commit/issues/comments{/number}","contents_url":"https://api.github.com/repos/runz0rd/pre-commit/contents/{+path}","compare_url":"https://api.github.com/repos/runz0rd/pre-commit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runz0rd/pre-commit/merges","archive_url":"https://api.github.com/repos/runz0rd/pre-commit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runz0rd/pre-commit/downloads","issues_url":"https://api.github.com/repos/runz0rd/pre-commit/issues{/number}","pulls_url":"https://api.github.com/repos/runz0rd/pre-commit/pulls{/number}","milestones_url":"https://api.github.com/repos/runz0rd/pre-commit/milestones{/number}","notifications_url":"https://api.github.com/repos/runz0rd/pre-commit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runz0rd/pre-commit/labels{/name}","releases_url":"https://api.github.com/repos/runz0rd/pre-commit/releases{/id}","deployments_url":"https://api.github.com/repos/runz0rd/pre-commit/deployments","created_at":"2018-10-31T16:32:15Z","updated_at":"2018-11-13T23:43:12Z","pushed_at":"2018-11-13T23:43:09Z","git_url":"git://github.com/runz0rd/pre-commit.git","ssh_url":"git@github.com:runz0rd/pre-commit.git","clone_url":"https://github.com/runz0rd/pre-commit.git","svn_url":"https://github.com/runz0rd/pre-commit","homepage":null,"size":1523,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pre-commit:master","ref":"master","sha":"1f1cd2bc394271540955794b3d2d3e6d8f4e65bb","user":{"login":"pre-commit","id":6943086,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5NDMwODY=","avatar_url":"https://avatars0.githubusercontent.com/u/6943086?v=4","gravatar_id":"","url":"https://api.github.com/users/pre-commit","html_url":"https://github.com/pre-commit","followers_url":"https://api.github.com/users/pre-commit/followers","following_url":"https://api.github.com/users/pre-commit/following{/other_user}","gists_url":"https://api.github.com/users/pre-commit/gists{/gist_id}","starred_url":"https://api.github.com/users/pre-commit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pre-commit/subscriptions","organizations_url":"https://api.github.com/users/pre-commit/orgs","repos_url":"https://api.github.com/users/pre-commit/repos","events_url":"https://api.github.com/users/pre-commit/events{/privacy}","received_events_url":"https://api.github.com/users/pre-commit/received_events","type":"Organization","site_admin":false},"repo":{"id":17689377,"node_id":"MDEwOlJlcG9zaXRvcnkxNzY4OTM3Nw==","name":"pre-commit","full_name":"pre-commit/pre-commit","private":false,"owner":{"login":"pre-commit","id":6943086,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5NDMwODY=","avatar_url":"https://avatars0.githubusercontent.com/u/6943086?v=4","gravatar_id":"","url":"https://api.github.com/users/pre-commit","html_url":"https://github.com/pre-commit","followers_url":"https://api.github.com/users/pre-commit/followers","following_url":"https://api.github.com/users/pre-commit/following{/other_user}","gists_url":"https://api.github.com/users/pre-commit/gists{/gist_id}","starred_url":"https://api.github.com/users/pre-commit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pre-commit/subscriptions","organizations_url":"https://api.github.com/users/pre-commit/orgs","repos_url":"https://api.github.com/users/pre-commit/repos","events_url":"https://api.github.com/users/pre-commit/events{/privacy}","received_events_url":"https://api.github.com/users/pre-commit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pre-commit/pre-commit","description":"A framework for managing and maintaining multi-language pre-commit hooks.","fork":false,"url":"https://api.github.com/repos/pre-commit/pre-commit","forks_url":"https://api.github.com/repos/pre-commit/pre-commit/forks","keys_url":"https://api.github.com/repos/pre-commit/pre-commit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pre-commit/pre-commit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pre-commit/pre-commit/teams","hooks_url":"https://api.github.com/repos/pre-commit/pre-commit/hooks","issue_events_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/events{/number}","events_url":"https://api.github.com/repos/pre-commit/pre-commit/events","assignees_url":"https://api.github.com/repos/pre-commit/pre-commit/assignees{/user}","branches_url":"https://api.github.com/repos/pre-commit/pre-commit/branches{/branch}","tags_url":"https://api.github.com/repos/pre-commit/pre-commit/tags","blobs_url":"https://api.github.com/repos/pre-commit/pre-commit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pre-commit/pre-commit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pre-commit/pre-commit/git/refs{/sha}","trees_url":"https://api.github.com/repos/pre-commit/pre-commit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pre-commit/pre-commit/statuses/{sha}","languages_url":"https://api.github.com/repos/pre-commit/pre-commit/languages","stargazers_url":"https://api.github.com/repos/pre-commit/pre-commit/stargazers","contributors_url":"https://api.github.com/repos/pre-commit/pre-commit/contributors","subscribers_url":"https://api.github.com/repos/pre-commit/pre-commit/subscribers","subscription_url":"https://api.github.com/repos/pre-commit/pre-commit/subscription","commits_url":"https://api.github.com/repos/pre-commit/pre-commit/commits{/sha}","git_commits_url":"https://api.github.com/repos/pre-commit/pre-commit/git/commits{/sha}","comments_url":"https://api.github.com/repos/pre-commit/pre-commit/comments{/number}","issue_comment_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/comments{/number}","contents_url":"https://api.github.com/repos/pre-commit/pre-commit/contents/{+path}","compare_url":"https://api.github.com/repos/pre-commit/pre-commit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pre-commit/pre-commit/merges","archive_url":"https://api.github.com/repos/pre-commit/pre-commit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pre-commit/pre-commit/downloads","issues_url":"https://api.github.com/repos/pre-commit/pre-commit/issues{/number}","pulls_url":"https://api.github.com/repos/pre-commit/pre-commit/pulls{/number}","milestones_url":"https://api.github.com/repos/pre-commit/pre-commit/milestones{/number}","notifications_url":"https://api.github.com/repos/pre-commit/pre-commit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pre-commit/pre-commit/labels{/name}","releases_url":"https://api.github.com/repos/pre-commit/pre-commit/releases{/id}","deployments_url":"https://api.github.com/repos/pre-commit/pre-commit/deployments","created_at":"2014-03-13T00:39:38Z","updated_at":"2018-11-13T20:54:59Z","pushed_at":"2018-11-13T23:43:11Z","git_url":"git://github.com/pre-commit/pre-commit.git","ssh_url":"git@github.com:pre-commit/pre-commit.git","clone_url":"https://github.com/pre-commit/pre-commit.git","svn_url":"https://github.com/pre-commit/pre-commit","homepage":null,"size":1542,"stargazers_count":2339,"watchers_count":2339,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":175,"mirror_url":null,"archived":false,"open_issues_count":25,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":175,"open_issues":25,"watchers":2339,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pre-commit/pre-commit/pulls/857"},"html":{"href":"https://github.com/pre-commit/pre-commit/pull/857"},"issue":{"href":"https://api.github.com/repos/pre-commit/pre-commit/issues/857"},"comments":{"href":"https://api.github.com/repos/pre-commit/pre-commit/issues/857/comments"},"review_comments":{"href":"https://api.github.com/repos/pre-commit/pre-commit/pulls/857/comments"},"review_comment":{"href":"https://api.github.com/repos/pre-commit/pre-commit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pre-commit/pre-commit/pulls/857/commits"},"statuses":{"href":"https://api.github.com/repos/pre-commit/pre-commit/statuses/bf8c8521cdf26006eff64bb2d4a35b77dcb0667a"}},"author_association":"NONE"}}
{"actor":{"display_login":"asottile"}}