{"action":"created","comment":{"url":"https://api.github.com/repos/astropy/astropy/pulls/comments/64920432","id":64920432,"diff_hunk":"@@ -72,11 +72,11 @@ def test_pickle_table(protocol):\n         assert np.all(tp['d'] == t['d'])\n         assert np.all(tp['e'].ra == t['e'].ra)\n         assert np.all(tp['e'].dec == t['e'].dec)\n-        assert type(tp['c']) == type(t['c'])\n-        assert type(tp['d']) == type(t['d'])\n-        assert type(tp['e']) == type(t['e'])\n+        assert type(tp['c']) is type(t['c'])  # nopep8","path":"astropy/table/tests/test_pickle.py","position":7,"original_position":7,"commit_id":"6ff232abfa2eb33b0a964f8b7c66b2d42ba2c072","original_commit_id":"6ff232abfa2eb33b0a964f8b7c66b2d42ba2c072","user":{"login":"bsipocz","id":6788290,"avatar_url":"https://avatars.githubusercontent.com/u/6788290?v=3","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"body":"not sure, it gives the same E721 warning as with ``==`` (``E721 do not compare types, use 'isinstance()'``), but it doesn't complain for simpler expression e.g. ``type(tp) is type(t)``","created_at":"2016-05-27T15:14:42Z","updated_at":"2016-05-27T15:14:42Z","html_url":"https://github.com/astropy/astropy/pull/4581#discussion_r64920432","pull_request_url":"https://api.github.com/repos/astropy/astropy/pulls/4581","_links":{"self":{"href":"https://api.github.com/repos/astropy/astropy/pulls/comments/64920432"},"html":{"href":"https://github.com/astropy/astropy/pull/4581#discussion_r64920432"},"pull_request":{"href":"https://api.github.com/repos/astropy/astropy/pulls/4581"}}},"pull_request":{"url":"https://api.github.com/repos/astropy/astropy/pulls/4581","id":58556152,"html_url":"https://github.com/astropy/astropy/pull/4581","diff_url":"https://github.com/astropy/astropy/pull/4581.diff","patch_url":"https://github.com/astropy/astropy/pull/4581.patch","issue_url":"https://api.github.com/repos/astropy/astropy/issues/4581","number":4581,"state":"open","locked":false,"title":"Include runtime errors in PEP8 checks and fix for various PEP8 statement errors","user":{"login":"bsipocz","id":6788290,"avatar_url":"https://avatars.githubusercontent.com/u/6788290?v=3","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"body":"[Edited]:\r\n\r\nFixes are for the followings, while only including the last two in ``setup.cfg``:\r\n\r\n```\r\nE711 - comparison to None should be 'if cond is None:'\r\nE712 - comparison to True should be 'if cond is True:' or 'if cond:'\r\nE713 - test for membership should be 'not in'\r\nE714 - test for object identity should be 'is not'\r\nE721 - do not compare types, use 'isinstance()'\r\nE901 - SyntaxError or IndentationError\r\nE902 - IOError\r\n```","created_at":"2016-02-07T20:27:04Z","updated_at":"2016-05-27T15:14:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"454ef5fe4f286a911202baaffe1885ce3cf1ff8e","assignee":{"login":"mhvk","id":2789820,"avatar_url":"https://avatars.githubusercontent.com/u/2789820?v=3","gravatar_id":"","url":"https://api.github.com/users/mhvk","html_url":"https://github.com/mhvk","followers_url":"https://api.github.com/users/mhvk/followers","following_url":"https://api.github.com/users/mhvk/following{/other_user}","gists_url":"https://api.github.com/users/mhvk/gists{/gist_id}","starred_url":"https://api.github.com/users/mhvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhvk/subscriptions","organizations_url":"https://api.github.com/users/mhvk/orgs","repos_url":"https://api.github.com/users/mhvk/repos","events_url":"https://api.github.com/users/mhvk/events{/privacy}","received_events_url":"https://api.github.com/users/mhvk/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/astropy/astropy/milestones/38","html_url":"https://github.com/astropy/astropy/milestones/v1.3.0","labels_url":"https://api.github.com/repos/astropy/astropy/milestones/38/labels","id":1761583,"number":38,"title":"v1.3.0","description":"","creator":{"login":"eteq","id":346587,"avatar_url":"https://avatars.githubusercontent.com/u/346587?v=3","gravatar_id":"","url":"https://api.github.com/users/eteq","html_url":"https://github.com/eteq","followers_url":"https://api.github.com/users/eteq/followers","following_url":"https://api.github.com/users/eteq/following{/other_user}","gists_url":"https://api.github.com/users/eteq/gists{/gist_id}","starred_url":"https://api.github.com/users/eteq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eteq/subscriptions","organizations_url":"https://api.github.com/users/eteq/orgs","repos_url":"https://api.github.com/users/eteq/repos","events_url":"https://api.github.com/users/eteq/events{/privacy}","received_events_url":"https://api.github.com/users/eteq/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":2,"state":"open","created_at":"2016-05-12T04:39:02Z","updated_at":"2016-05-27T15:03:06Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/astropy/astropy/pulls/4581/commits","review_comments_url":"https://api.github.com/repos/astropy/astropy/pulls/4581/comments","review_comment_url":"https://api.github.com/repos/astropy/astropy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/4581/comments","statuses_url":"https://api.github.com/repos/astropy/astropy/statuses/6ff232abfa2eb33b0a964f8b7c66b2d42ba2c072","head":{"label":"bsipocz:pep8","ref":"pep8","sha":"6ff232abfa2eb33b0a964f8b7c66b2d42ba2c072","user":{"login":"bsipocz","id":6788290,"avatar_url":"https://avatars.githubusercontent.com/u/6788290?v=3","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"repo":{"id":17316971,"name":"astropy","full_name":"bsipocz/astropy","owner":{"login":"bsipocz","id":6788290,"avatar_url":"https://avatars.githubusercontent.com/u/6788290?v=3","gravatar_id":"","url":"https://api.github.com/users/bsipocz","html_url":"https://github.com/bsipocz","followers_url":"https://api.github.com/users/bsipocz/followers","following_url":"https://api.github.com/users/bsipocz/following{/other_user}","gists_url":"https://api.github.com/users/bsipocz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsipocz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsipocz/subscriptions","organizations_url":"https://api.github.com/users/bsipocz/orgs","repos_url":"https://api.github.com/users/bsipocz/repos","events_url":"https://api.github.com/users/bsipocz/events{/privacy}","received_events_url":"https://api.github.com/users/bsipocz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bsipocz/astropy","description":"Main Astropy repository","fork":true,"url":"https://api.github.com/repos/bsipocz/astropy","forks_url":"https://api.github.com/repos/bsipocz/astropy/forks","keys_url":"https://api.github.com/repos/bsipocz/astropy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bsipocz/astropy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bsipocz/astropy/teams","hooks_url":"https://api.github.com/repos/bsipocz/astropy/hooks","issue_events_url":"https://api.github.com/repos/bsipocz/astropy/issues/events{/number}","events_url":"https://api.github.com/repos/bsipocz/astropy/events","assignees_url":"https://api.github.com/repos/bsipocz/astropy/assignees{/user}","branches_url":"https://api.github.com/repos/bsipocz/astropy/branches{/branch}","tags_url":"https://api.github.com/repos/bsipocz/astropy/tags","blobs_url":"https://api.github.com/repos/bsipocz/astropy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bsipocz/astropy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bsipocz/astropy/git/refs{/sha}","trees_url":"https://api.github.com/repos/bsipocz/astropy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bsipocz/astropy/statuses/{sha}","languages_url":"https://api.github.com/repos/bsipocz/astropy/languages","stargazers_url":"https://api.github.com/repos/bsipocz/astropy/stargazers","contributors_url":"https://api.github.com/repos/bsipocz/astropy/contributors","subscribers_url":"https://api.github.com/repos/bsipocz/astropy/subscribers","subscription_url":"https://api.github.com/repos/bsipocz/astropy/subscription","commits_url":"https://api.github.com/repos/bsipocz/astropy/commits{/sha}","git_commits_url":"https://api.github.com/repos/bsipocz/astropy/git/commits{/sha}","comments_url":"https://api.github.com/repos/bsipocz/astropy/comments{/number}","issue_comment_url":"https://api.github.com/repos/bsipocz/astropy/issues/comments{/number}","contents_url":"https://api.github.com/repos/bsipocz/astropy/contents/{+path}","compare_url":"https://api.github.com/repos/bsipocz/astropy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bsipocz/astropy/merges","archive_url":"https://api.github.com/repos/bsipocz/astropy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bsipocz/astropy/downloads","issues_url":"https://api.github.com/repos/bsipocz/astropy/issues{/number}","pulls_url":"https://api.github.com/repos/bsipocz/astropy/pulls{/number}","milestones_url":"https://api.github.com/repos/bsipocz/astropy/milestones{/number}","notifications_url":"https://api.github.com/repos/bsipocz/astropy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bsipocz/astropy/labels{/name}","releases_url":"https://api.github.com/repos/bsipocz/astropy/releases{/id}","deployments_url":"https://api.github.com/repos/bsipocz/astropy/deployments","created_at":"2014-03-01T14:55:18Z","updated_at":"2014-06-02T12:50:34Z","pushed_at":"2016-05-27T11:41:34Z","git_url":"git://github.com/bsipocz/astropy.git","ssh_url":"git@github.com:bsipocz/astropy.git","clone_url":"https://github.com/bsipocz/astropy.git","svn_url":"https://github.com/bsipocz/astropy","homepage":"astropy.org","size":46211,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"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":"zizike"}},"base":{"label":"astropy:master","ref":"master","sha":"bd3ce9d7a11b8efbe5450dc1403a9213a3e62494","user":{"login":"astropy","id":847984,"avatar_url":"https://avatars.githubusercontent.com/u/847984?v=3","gravatar_id":"","url":"https://api.github.com/users/astropy","html_url":"https://github.com/astropy","followers_url":"https://api.github.com/users/astropy/followers","following_url":"https://api.github.com/users/astropy/following{/other_user}","gists_url":"https://api.github.com/users/astropy/gists{/gist_id}","starred_url":"https://api.github.com/users/astropy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astropy/subscriptions","organizations_url":"https://api.github.com/users/astropy/orgs","repos_url":"https://api.github.com/users/astropy/repos","events_url":"https://api.github.com/users/astropy/events{/privacy}","received_events_url":"https://api.github.com/users/astropy/received_events","type":"Organization","site_admin":false},"repo":{"id":2081289,"name":"astropy","full_name":"astropy/astropy","owner":{"login":"astropy","id":847984,"avatar_url":"https://avatars.githubusercontent.com/u/847984?v=3","gravatar_id":"","url":"https://api.github.com/users/astropy","html_url":"https://github.com/astropy","followers_url":"https://api.github.com/users/astropy/followers","following_url":"https://api.github.com/users/astropy/following{/other_user}","gists_url":"https://api.github.com/users/astropy/gists{/gist_id}","starred_url":"https://api.github.com/users/astropy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astropy/subscriptions","organizations_url":"https://api.github.com/users/astropy/orgs","repos_url":"https://api.github.com/users/astropy/repos","events_url":"https://api.github.com/users/astropy/events{/privacy}","received_events_url":"https://api.github.com/users/astropy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/astropy/astropy","description":"Repository for the Astropy core package","fork":false,"url":"https://api.github.com/repos/astropy/astropy","forks_url":"https://api.github.com/repos/astropy/astropy/forks","keys_url":"https://api.github.com/repos/astropy/astropy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astropy/astropy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astropy/astropy/teams","hooks_url":"https://api.github.com/repos/astropy/astropy/hooks","issue_events_url":"https://api.github.com/repos/astropy/astropy/issues/events{/number}","events_url":"https://api.github.com/repos/astropy/astropy/events","assignees_url":"https://api.github.com/repos/astropy/astropy/assignees{/user}","branches_url":"https://api.github.com/repos/astropy/astropy/branches{/branch}","tags_url":"https://api.github.com/repos/astropy/astropy/tags","blobs_url":"https://api.github.com/repos/astropy/astropy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astropy/astropy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astropy/astropy/git/refs{/sha}","trees_url":"https://api.github.com/repos/astropy/astropy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astropy/astropy/statuses/{sha}","languages_url":"https://api.github.com/repos/astropy/astropy/languages","stargazers_url":"https://api.github.com/repos/astropy/astropy/stargazers","contributors_url":"https://api.github.com/repos/astropy/astropy/contributors","subscribers_url":"https://api.github.com/repos/astropy/astropy/subscribers","subscription_url":"https://api.github.com/repos/astropy/astropy/subscription","commits_url":"https://api.github.com/repos/astropy/astropy/commits{/sha}","git_commits_url":"https://api.github.com/repos/astropy/astropy/git/commits{/sha}","comments_url":"https://api.github.com/repos/astropy/astropy/comments{/number}","issue_comment_url":"https://api.github.com/repos/astropy/astropy/issues/comments{/number}","contents_url":"https://api.github.com/repos/astropy/astropy/contents/{+path}","compare_url":"https://api.github.com/repos/astropy/astropy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astropy/astropy/merges","archive_url":"https://api.github.com/repos/astropy/astropy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astropy/astropy/downloads","issues_url":"https://api.github.com/repos/astropy/astropy/issues{/number}","pulls_url":"https://api.github.com/repos/astropy/astropy/pulls{/number}","milestones_url":"https://api.github.com/repos/astropy/astropy/milestones{/number}","notifications_url":"https://api.github.com/repos/astropy/astropy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astropy/astropy/labels{/name}","releases_url":"https://api.github.com/repos/astropy/astropy/releases{/id}","deployments_url":"https://api.github.com/repos/astropy/astropy/deployments","created_at":"2011-07-21T01:33:49Z","updated_at":"2016-05-27T15:02:39Z","pushed_at":"2016-05-27T14:50:07Z","git_url":"git://github.com/astropy/astropy.git","ssh_url":"git@github.com:astropy/astropy.git","clone_url":"https://github.com/astropy/astropy.git","svn_url":"https://github.com/astropy/astropy","homepage":"www.astropy.org","size":66174,"stargazers_count":858,"watchers_count":858,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":550,"mirror_url":null,"open_issues_count":717,"forks":550,"open_issues":717,"watchers":858,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/astropy/astropy/pulls/4581"},"html":{"href":"https://github.com/astropy/astropy/pull/4581"},"issue":{"href":"https://api.github.com/repos/astropy/astropy/issues/4581"},"comments":{"href":"https://api.github.com/repos/astropy/astropy/issues/4581/comments"},"review_comments":{"href":"https://api.github.com/repos/astropy/astropy/pulls/4581/comments"},"review_comment":{"href":"https://api.github.com/repos/astropy/astropy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/astropy/astropy/pulls/4581/commits"},"statuses":{"href":"https://api.github.com/repos/astropy/astropy/statuses/6ff232abfa2eb33b0a964f8b7c66b2d42ba2c072"}}}}
{"actor":{"display_login":"bsipocz"}}