{"action":"created","comment":{"url":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/comments/132844831","pull_request_review_id":55968459,"id":132844831,"diff_hunk":"@@ -64,3 +64,19 @@ def test_iterator_initialization(self) -> None:\n         self.assertTrue(ordering.compare(2, 0))\n         self.assertTrue(ordering.compare(2, 1))\n         self.assertTrue(ordering.compare(0, 1))\n+\n+    def test_reverse_iter(self) -> None:\n+        items: list\n+        for items in [], [0], [0, 1], [2, 0, 1]:  # type: ignore # https://github.com/python/mypy/issues/2255","path":"tests/test_basic.py","position":7,"original_position":7,"commit_id":"bfdfa21daf40fa9d67cba0d0daf510895dd623ca","original_commit_id":"bfdfa21daf40fa9d67cba0d0daf510895dd623ca","user":{"login":"madman-bob","id":842549,"avatar_url":"https://avatars2.githubusercontent.com/u/842549?v=4","gravatar_id":"","url":"https://api.github.com/users/madman-bob","html_url":"https://github.com/madman-bob","followers_url":"https://api.github.com/users/madman-bob/followers","following_url":"https://api.github.com/users/madman-bob/following{/other_user}","gists_url":"https://api.github.com/users/madman-bob/gists{/gist_id}","starred_url":"https://api.github.com/users/madman-bob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madman-bob/subscriptions","organizations_url":"https://api.github.com/users/madman-bob/orgs","repos_url":"https://api.github.com/users/madman-bob/repos","events_url":"https://api.github.com/users/madman-bob/events{/privacy}","received_events_url":"https://api.github.com/users/madman-bob/received_events","type":"User","site_admin":false},"body":"Extract your test lists to a variable, then you can do `test_lists: List[List[int]] = [...]`","created_at":"2017-08-13T15:23:31Z","updated_at":"2017-08-13T15:26:01Z","html_url":"https://github.com/madman-bob/python-order-maintenance/pull/12#discussion_r132844831","pull_request_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/comments/132844831"},"html":{"href":"https://github.com/madman-bob/python-order-maintenance/pull/12#discussion_r132844831"},"pull_request":{"href":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/12","id":135472176,"html_url":"https://github.com/madman-bob/python-order-maintenance/pull/12","diff_url":"https://github.com/madman-bob/python-order-maintenance/pull/12.diff","patch_url":"https://github.com/madman-bob/python-order-maintenance/pull/12.patch","issue_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/issues/12","number":12,"state":"open","locked":false,"title":"Add ability to reverse an Ordering","user":{"login":"Yogi-B","id":12204641,"avatar_url":"https://avatars1.githubusercontent.com/u/12204641?v=4","gravatar_id":"","url":"https://api.github.com/users/Yogi-B","html_url":"https://github.com/Yogi-B","followers_url":"https://api.github.com/users/Yogi-B/followers","following_url":"https://api.github.com/users/Yogi-B/following{/other_user}","gists_url":"https://api.github.com/users/Yogi-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Yogi-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yogi-B/subscriptions","organizations_url":"https://api.github.com/users/Yogi-B/orgs","repos_url":"https://api.github.com/users/Yogi-B/repos","events_url":"https://api.github.com/users/Yogi-B/events{/privacy}","received_events_url":"https://api.github.com/users/Yogi-B/received_events","type":"User","site_admin":false},"body":"Add `Ordering.reverse()` method to reverse the elements of an Ordering in place.\r\n\r\nAdd unit test for reversing an Ordering.","created_at":"2017-08-12T20:38:43Z","updated_at":"2017-08-13T15:26:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e136d947bd7fa176e5d4fb5602fc311570ef3d0","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/12/commits","review_comments_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/12/comments","review_comment_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/issues/12/comments","statuses_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/statuses/bfdfa21daf40fa9d67cba0d0daf510895dd623ca","head":{"label":"Yogi-B:feat/add-Ordering.reverse","ref":"feat/add-Ordering.reverse","sha":"bfdfa21daf40fa9d67cba0d0daf510895dd623ca","user":{"login":"Yogi-B","id":12204641,"avatar_url":"https://avatars1.githubusercontent.com/u/12204641?v=4","gravatar_id":"","url":"https://api.github.com/users/Yogi-B","html_url":"https://github.com/Yogi-B","followers_url":"https://api.github.com/users/Yogi-B/followers","following_url":"https://api.github.com/users/Yogi-B/following{/other_user}","gists_url":"https://api.github.com/users/Yogi-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Yogi-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yogi-B/subscriptions","organizations_url":"https://api.github.com/users/Yogi-B/orgs","repos_url":"https://api.github.com/users/Yogi-B/repos","events_url":"https://api.github.com/users/Yogi-B/events{/privacy}","received_events_url":"https://api.github.com/users/Yogi-B/received_events","type":"User","site_admin":false},"repo":{"id":98011317,"name":"python-order-maintenance","full_name":"Yogi-B/python-order-maintenance","owner":{"login":"Yogi-B","id":12204641,"avatar_url":"https://avatars1.githubusercontent.com/u/12204641?v=4","gravatar_id":"","url":"https://api.github.com/users/Yogi-B","html_url":"https://github.com/Yogi-B","followers_url":"https://api.github.com/users/Yogi-B/followers","following_url":"https://api.github.com/users/Yogi-B/following{/other_user}","gists_url":"https://api.github.com/users/Yogi-B/gists{/gist_id}","starred_url":"https://api.github.com/users/Yogi-B/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yogi-B/subscriptions","organizations_url":"https://api.github.com/users/Yogi-B/orgs","repos_url":"https://api.github.com/users/Yogi-B/repos","events_url":"https://api.github.com/users/Yogi-B/events{/privacy}","received_events_url":"https://api.github.com/users/Yogi-B/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Yogi-B/python-order-maintenance","description":null,"fork":true,"url":"https://api.github.com/repos/Yogi-B/python-order-maintenance","forks_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/forks","keys_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/teams","hooks_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/hooks","issue_events_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/issues/events{/number}","events_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/events","assignees_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/assignees{/user}","branches_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/branches{/branch}","tags_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/tags","blobs_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/statuses/{sha}","languages_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/languages","stargazers_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/stargazers","contributors_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/contributors","subscribers_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/subscribers","subscription_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/subscription","commits_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/contents/{+path}","compare_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/merges","archive_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/downloads","issues_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/issues{/number}","pulls_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/pulls{/number}","milestones_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/milestones{/number}","notifications_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/labels{/name}","releases_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/releases{/id}","deployments_url":"https://api.github.com/repos/Yogi-B/python-order-maintenance/deployments","created_at":"2017-07-22T06:18:17Z","updated_at":"2017-07-22T06:18:19Z","pushed_at":"2017-08-12T20:37:41Z","git_url":"git://github.com/Yogi-B/python-order-maintenance.git","ssh_url":"git@github.com:Yogi-B/python-order-maintenance.git","clone_url":"https://github.com/Yogi-B/python-order-maintenance.git","svn_url":"https://github.com/Yogi-B/python-order-maintenance","homepage":null,"size":27,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"madman-bob:master","ref":"master","sha":"48ecf479bdf869305f5b521423eaa23b38ae54b4","user":{"login":"madman-bob","id":842549,"avatar_url":"https://avatars2.githubusercontent.com/u/842549?v=4","gravatar_id":"","url":"https://api.github.com/users/madman-bob","html_url":"https://github.com/madman-bob","followers_url":"https://api.github.com/users/madman-bob/followers","following_url":"https://api.github.com/users/madman-bob/following{/other_user}","gists_url":"https://api.github.com/users/madman-bob/gists{/gist_id}","starred_url":"https://api.github.com/users/madman-bob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madman-bob/subscriptions","organizations_url":"https://api.github.com/users/madman-bob/orgs","repos_url":"https://api.github.com/users/madman-bob/repos","events_url":"https://api.github.com/users/madman-bob/events{/privacy}","received_events_url":"https://api.github.com/users/madman-bob/received_events","type":"User","site_admin":false},"repo":{"id":95789916,"name":"python-order-maintenance","full_name":"madman-bob/python-order-maintenance","owner":{"login":"madman-bob","id":842549,"avatar_url":"https://avatars2.githubusercontent.com/u/842549?v=4","gravatar_id":"","url":"https://api.github.com/users/madman-bob","html_url":"https://github.com/madman-bob","followers_url":"https://api.github.com/users/madman-bob/followers","following_url":"https://api.github.com/users/madman-bob/following{/other_user}","gists_url":"https://api.github.com/users/madman-bob/gists{/gist_id}","starred_url":"https://api.github.com/users/madman-bob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madman-bob/subscriptions","organizations_url":"https://api.github.com/users/madman-bob/orgs","repos_url":"https://api.github.com/users/madman-bob/repos","events_url":"https://api.github.com/users/madman-bob/events{/privacy}","received_events_url":"https://api.github.com/users/madman-bob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madman-bob/python-order-maintenance","description":null,"fork":false,"url":"https://api.github.com/repos/madman-bob/python-order-maintenance","forks_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/forks","keys_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/teams","hooks_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/hooks","issue_events_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/issues/events{/number}","events_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/events","assignees_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/assignees{/user}","branches_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/branches{/branch}","tags_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/tags","blobs_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/git/refs{/sha}","trees_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/statuses/{sha}","languages_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/languages","stargazers_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/stargazers","contributors_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/contributors","subscribers_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/subscribers","subscription_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/subscription","commits_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/commits{/sha}","git_commits_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/git/commits{/sha}","comments_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/comments{/number}","issue_comment_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/issues/comments{/number}","contents_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/contents/{+path}","compare_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/merges","archive_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/downloads","issues_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/issues{/number}","pulls_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls{/number}","milestones_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/milestones{/number}","notifications_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/labels{/name}","releases_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/releases{/id}","deployments_url":"https://api.github.com/repos/madman-bob/python-order-maintenance/deployments","created_at":"2017-06-29T15:08:07Z","updated_at":"2017-06-29T15:20:26Z","pushed_at":"2017-08-12T20:38:43Z","git_url":"git://github.com/madman-bob/python-order-maintenance.git","ssh_url":"git@github.com:madman-bob/python-order-maintenance.git","clone_url":"https://github.com/madman-bob/python-order-maintenance.git","svn_url":"https://github.com/madman-bob/python-order-maintenance","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/12"},"html":{"href":"https://github.com/madman-bob/python-order-maintenance/pull/12"},"issue":{"href":"https://api.github.com/repos/madman-bob/python-order-maintenance/issues/12"},"comments":{"href":"https://api.github.com/repos/madman-bob/python-order-maintenance/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/madman-bob/python-order-maintenance/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/madman-bob/python-order-maintenance/statuses/bfdfa21daf40fa9d67cba0d0daf510895dd623ca"}}}}
{"actor":{"display_login":"madman-bob"}}