{"action":"created","comment":{"url":"https://api.github.com/repos/ambv/black/pulls/comments/189308885","pull_request_review_id":121469220,"id":189308885,"diff_hunk":"@@ -340,6 +340,13 @@ def test_python2_unicode_literals(self) -> None:\n         self.assertFormatEqual(expected, actual)\n         black.assert_stable(source, actual, line_length=ll)\n \n+    @patch(\"black.dump_to_file\", dump_to_stderr)\n+    def test_stub(self) -> None:\n+        source, expected = read_data(\"stub.pyi\")","path":"tests/test_black.py","position":15,"original_position":15,"commit_id":"176c5e12d4c44b6bac6bb6fbac80141232429e78","original_commit_id":"176c5e12d4c44b6bac6bb6fbac80141232429e78","user":{"login":"JelleZijlstra","id":906600,"avatar_url":"https://avatars0.githubusercontent.com/u/906600?v=4","gravatar_id":"","url":"https://api.github.com/users/JelleZijlstra","html_url":"https://github.com/JelleZijlstra","followers_url":"https://api.github.com/users/JelleZijlstra/followers","following_url":"https://api.github.com/users/JelleZijlstra/following{/other_user}","gists_url":"https://api.github.com/users/JelleZijlstra/gists{/gist_id}","starred_url":"https://api.github.com/users/JelleZijlstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelleZijlstra/subscriptions","organizations_url":"https://api.github.com/users/JelleZijlstra/orgs","repos_url":"https://api.github.com/users/JelleZijlstra/repos","events_url":"https://api.github.com/users/JelleZijlstra/events{/privacy}","received_events_url":"https://api.github.com/users/JelleZijlstra/received_events","type":"User","site_admin":false},"body":"Sorry for missing that #222 fixes it.","created_at":"2018-05-18T15:34:02Z","updated_at":"2018-05-18T15:34:02Z","html_url":"https://github.com/ambv/black/pull/210#discussion_r189308885","pull_request_url":"https://api.github.com/repos/ambv/black/pulls/210","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ambv/black/pulls/comments/189308885"},"html":{"href":"https://github.com/ambv/black/pull/210#discussion_r189308885"},"pull_request":{"href":"https://api.github.com/repos/ambv/black/pulls/210"}},"in_reply_to_id":189234436},"pull_request":{"url":"https://api.github.com/repos/ambv/black/pulls/210","id":188122861,"html_url":"https://github.com/ambv/black/pull/210","diff_url":"https://github.com/ambv/black/pull/210.diff","patch_url":"https://github.com/ambv/black/pull/210.patch","issue_url":"https://api.github.com/repos/ambv/black/issues/210","number":210,"state":"closed","locked":false,"title":"Add support for pyi files","user":{"login":"JelleZijlstra","id":906600,"avatar_url":"https://avatars0.githubusercontent.com/u/906600?v=4","gravatar_id":"","url":"https://api.github.com/users/JelleZijlstra","html_url":"https://github.com/JelleZijlstra","followers_url":"https://api.github.com/users/JelleZijlstra/followers","following_url":"https://api.github.com/users/JelleZijlstra/following{/other_user}","gists_url":"https://api.github.com/users/JelleZijlstra/gists{/gist_id}","starred_url":"https://api.github.com/users/JelleZijlstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelleZijlstra/subscriptions","organizations_url":"https://api.github.com/users/JelleZijlstra/orgs","repos_url":"https://api.github.com/users/JelleZijlstra/repos","events_url":"https://api.github.com/users/JelleZijlstra/events{/privacy}","received_events_url":"https://api.github.com/users/JelleZijlstra/received_events","type":"User","site_admin":false},"body":"Fixes #207. This commit applies the format to all of typeshed: https://github.com/JelleZijlstra/typeshed/commit/0fe45a0726362f63084ad7714bc819d7bd6a3eb1.\r\n\r\nOne thing I haven't done yet is removing blank lines between classes with trivial bodies (see e.g. here: https://github.com/JelleZijlstra/typeshed/commit/0fe45a0726362f63084ad7714bc819d7bd6a3eb1#diff-fc608da07debda33805668ed07dd237eL249).","created_at":"2018-05-15T13:10:08Z","updated_at":"2018-05-18T15:34:02Z","closed_at":"2018-05-15T19:09:36Z","merged_at":"2018-05-15T19:09:35Z","merge_commit_sha":"14ba1bf8b6248e6860ba6a0cb9468c4c1c25a102","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ambv/black/pulls/210/commits","review_comments_url":"https://api.github.com/repos/ambv/black/pulls/210/comments","review_comment_url":"https://api.github.com/repos/ambv/black/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ambv/black/issues/210/comments","statuses_url":"https://api.github.com/repos/ambv/black/statuses/176c5e12d4c44b6bac6bb6fbac80141232429e78","head":{"label":"JelleZijlstra:pyi","ref":"pyi","sha":"176c5e12d4c44b6bac6bb6fbac80141232429e78","user":{"login":"JelleZijlstra","id":906600,"avatar_url":"https://avatars0.githubusercontent.com/u/906600?v=4","gravatar_id":"","url":"https://api.github.com/users/JelleZijlstra","html_url":"https://github.com/JelleZijlstra","followers_url":"https://api.github.com/users/JelleZijlstra/followers","following_url":"https://api.github.com/users/JelleZijlstra/following{/other_user}","gists_url":"https://api.github.com/users/JelleZijlstra/gists{/gist_id}","starred_url":"https://api.github.com/users/JelleZijlstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelleZijlstra/subscriptions","organizations_url":"https://api.github.com/users/JelleZijlstra/orgs","repos_url":"https://api.github.com/users/JelleZijlstra/repos","events_url":"https://api.github.com/users/JelleZijlstra/events{/privacy}","received_events_url":"https://api.github.com/users/JelleZijlstra/received_events","type":"User","site_admin":false},"repo":{"id":130954021,"name":"black","full_name":"JelleZijlstra/black","owner":{"login":"JelleZijlstra","id":906600,"avatar_url":"https://avatars0.githubusercontent.com/u/906600?v=4","gravatar_id":"","url":"https://api.github.com/users/JelleZijlstra","html_url":"https://github.com/JelleZijlstra","followers_url":"https://api.github.com/users/JelleZijlstra/followers","following_url":"https://api.github.com/users/JelleZijlstra/following{/other_user}","gists_url":"https://api.github.com/users/JelleZijlstra/gists{/gist_id}","starred_url":"https://api.github.com/users/JelleZijlstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelleZijlstra/subscriptions","organizations_url":"https://api.github.com/users/JelleZijlstra/orgs","repos_url":"https://api.github.com/users/JelleZijlstra/repos","events_url":"https://api.github.com/users/JelleZijlstra/events{/privacy}","received_events_url":"https://api.github.com/users/JelleZijlstra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JelleZijlstra/black","description":"The uncompromising Python code formatter","fork":true,"url":"https://api.github.com/repos/JelleZijlstra/black","forks_url":"https://api.github.com/repos/JelleZijlstra/black/forks","keys_url":"https://api.github.com/repos/JelleZijlstra/black/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JelleZijlstra/black/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JelleZijlstra/black/teams","hooks_url":"https://api.github.com/repos/JelleZijlstra/black/hooks","issue_events_url":"https://api.github.com/repos/JelleZijlstra/black/issues/events{/number}","events_url":"https://api.github.com/repos/JelleZijlstra/black/events","assignees_url":"https://api.github.com/repos/JelleZijlstra/black/assignees{/user}","branches_url":"https://api.github.com/repos/JelleZijlstra/black/branches{/branch}","tags_url":"https://api.github.com/repos/JelleZijlstra/black/tags","blobs_url":"https://api.github.com/repos/JelleZijlstra/black/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JelleZijlstra/black/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JelleZijlstra/black/git/refs{/sha}","trees_url":"https://api.github.com/repos/JelleZijlstra/black/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JelleZijlstra/black/statuses/{sha}","languages_url":"https://api.github.com/repos/JelleZijlstra/black/languages","stargazers_url":"https://api.github.com/repos/JelleZijlstra/black/stargazers","contributors_url":"https://api.github.com/repos/JelleZijlstra/black/contributors","subscribers_url":"https://api.github.com/repos/JelleZijlstra/black/subscribers","subscription_url":"https://api.github.com/repos/JelleZijlstra/black/subscription","commits_url":"https://api.github.com/repos/JelleZijlstra/black/commits{/sha}","git_commits_url":"https://api.github.com/repos/JelleZijlstra/black/git/commits{/sha}","comments_url":"https://api.github.com/repos/JelleZijlstra/black/comments{/number}","issue_comment_url":"https://api.github.com/repos/JelleZijlstra/black/issues/comments{/number}","contents_url":"https://api.github.com/repos/JelleZijlstra/black/contents/{+path}","compare_url":"https://api.github.com/repos/JelleZijlstra/black/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JelleZijlstra/black/merges","archive_url":"https://api.github.com/repos/JelleZijlstra/black/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JelleZijlstra/black/downloads","issues_url":"https://api.github.com/repos/JelleZijlstra/black/issues{/number}","pulls_url":"https://api.github.com/repos/JelleZijlstra/black/pulls{/number}","milestones_url":"https://api.github.com/repos/JelleZijlstra/black/milestones{/number}","notifications_url":"https://api.github.com/repos/JelleZijlstra/black/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JelleZijlstra/black/labels{/name}","releases_url":"https://api.github.com/repos/JelleZijlstra/black/releases{/id}","deployments_url":"https://api.github.com/repos/JelleZijlstra/black/deployments","created_at":"2018-04-25T05:15:23Z","updated_at":"2018-04-25T05:15:25Z","pushed_at":"2018-05-15T13:29:30Z","git_url":"git://github.com/JelleZijlstra/black.git","ssh_url":"git@github.com:JelleZijlstra/black.git","clone_url":"https://github.com/JelleZijlstra/black.git","svn_url":"https://github.com/JelleZijlstra/black","homepage":null,"size":1581,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ambv:master","ref":"master","sha":"3eab6d3131acd14b5900519d8447c8a1152e6d87","user":{"login":"ambv","id":55281,"avatar_url":"https://avatars1.githubusercontent.com/u/55281?v=4","gravatar_id":"","url":"https://api.github.com/users/ambv","html_url":"https://github.com/ambv","followers_url":"https://api.github.com/users/ambv/followers","following_url":"https://api.github.com/users/ambv/following{/other_user}","gists_url":"https://api.github.com/users/ambv/gists{/gist_id}","starred_url":"https://api.github.com/users/ambv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambv/subscriptions","organizations_url":"https://api.github.com/users/ambv/orgs","repos_url":"https://api.github.com/users/ambv/repos","events_url":"https://api.github.com/users/ambv/events{/privacy}","received_events_url":"https://api.github.com/users/ambv/received_events","type":"User","site_admin":false},"repo":{"id":125266328,"name":"black","full_name":"ambv/black","owner":{"login":"ambv","id":55281,"avatar_url":"https://avatars1.githubusercontent.com/u/55281?v=4","gravatar_id":"","url":"https://api.github.com/users/ambv","html_url":"https://github.com/ambv","followers_url":"https://api.github.com/users/ambv/followers","following_url":"https://api.github.com/users/ambv/following{/other_user}","gists_url":"https://api.github.com/users/ambv/gists{/gist_id}","starred_url":"https://api.github.com/users/ambv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambv/subscriptions","organizations_url":"https://api.github.com/users/ambv/orgs","repos_url":"https://api.github.com/users/ambv/repos","events_url":"https://api.github.com/users/ambv/events{/privacy}","received_events_url":"https://api.github.com/users/ambv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ambv/black","description":"The uncompromising Python code formatter","fork":false,"url":"https://api.github.com/repos/ambv/black","forks_url":"https://api.github.com/repos/ambv/black/forks","keys_url":"https://api.github.com/repos/ambv/black/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ambv/black/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ambv/black/teams","hooks_url":"https://api.github.com/repos/ambv/black/hooks","issue_events_url":"https://api.github.com/repos/ambv/black/issues/events{/number}","events_url":"https://api.github.com/repos/ambv/black/events","assignees_url":"https://api.github.com/repos/ambv/black/assignees{/user}","branches_url":"https://api.github.com/repos/ambv/black/branches{/branch}","tags_url":"https://api.github.com/repos/ambv/black/tags","blobs_url":"https://api.github.com/repos/ambv/black/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ambv/black/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ambv/black/git/refs{/sha}","trees_url":"https://api.github.com/repos/ambv/black/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ambv/black/statuses/{sha}","languages_url":"https://api.github.com/repos/ambv/black/languages","stargazers_url":"https://api.github.com/repos/ambv/black/stargazers","contributors_url":"https://api.github.com/repos/ambv/black/contributors","subscribers_url":"https://api.github.com/repos/ambv/black/subscribers","subscription_url":"https://api.github.com/repos/ambv/black/subscription","commits_url":"https://api.github.com/repos/ambv/black/commits{/sha}","git_commits_url":"https://api.github.com/repos/ambv/black/git/commits{/sha}","comments_url":"https://api.github.com/repos/ambv/black/comments{/number}","issue_comment_url":"https://api.github.com/repos/ambv/black/issues/comments{/number}","contents_url":"https://api.github.com/repos/ambv/black/contents/{+path}","compare_url":"https://api.github.com/repos/ambv/black/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ambv/black/merges","archive_url":"https://api.github.com/repos/ambv/black/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ambv/black/downloads","issues_url":"https://api.github.com/repos/ambv/black/issues{/number}","pulls_url":"https://api.github.com/repos/ambv/black/pulls{/number}","milestones_url":"https://api.github.com/repos/ambv/black/milestones{/number}","notifications_url":"https://api.github.com/repos/ambv/black/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ambv/black/labels{/name}","releases_url":"https://api.github.com/repos/ambv/black/releases{/id}","deployments_url":"https://api.github.com/repos/ambv/black/deployments","created_at":"2018-03-14T19:54:45Z","updated_at":"2018-05-18T15:09:31Z","pushed_at":"2018-05-18T13:20:44Z","git_url":"git://github.com/ambv/black.git","ssh_url":"git@github.com:ambv/black.git","clone_url":"https://github.com/ambv/black.git","svn_url":"https://github.com/ambv/black","homepage":null,"size":1787,"stargazers_count":2061,"watchers_count":2061,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"archived":false,"open_issues_count":24,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":87,"open_issues":24,"watchers":2061,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ambv/black/pulls/210"},"html":{"href":"https://github.com/ambv/black/pull/210"},"issue":{"href":"https://api.github.com/repos/ambv/black/issues/210"},"comments":{"href":"https://api.github.com/repos/ambv/black/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/ambv/black/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/ambv/black/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ambv/black/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/ambv/black/statuses/176c5e12d4c44b6bac6bb6fbac80141232429e78"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"JelleZijlstra"}}