{"action":"created","comment":{"url":"https://api.github.com/repos/pyta-uoft/pyta/pulls/comments/62906546","id":62906546,"diff_hunk":"@@ -0,0 +1,13 @@\n+\"\"\"pylint: using constant test\n+\n+\"\"\"\n+\n+\n+def pos():\n+    \"\"\"\n+    @rtype: bool\n+    \"\"\"\n+    if 0:","path":"examples/pylint/W0125_using_constant_test.py","position":10,"original_position":10,"commit_id":"e5434a2e463b43ee299bfd247cee33749de945b1","original_commit_id":"e5434a2e463b43ee299bfd247cee33749de945b1","user":{"login":"david-yz-liu","id":3333115,"avatar_url":"https://avatars.githubusercontent.com/u/3333115?v=3","gravatar_id":"","url":"https://api.github.com/users/david-yz-liu","html_url":"https://github.com/david-yz-liu","followers_url":"https://api.github.com/users/david-yz-liu/followers","following_url":"https://api.github.com/users/david-yz-liu/following{/other_user}","gists_url":"https://api.github.com/users/david-yz-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/david-yz-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-yz-liu/subscriptions","organizations_url":"https://api.github.com/users/david-yz-liu/orgs","repos_url":"https://api.github.com/users/david-yz-liu/repos","events_url":"https://api.github.com/users/david-yz-liu/events{/privacy}","received_events_url":"https://api.github.com/users/david-yz-liu/received_events","type":"User","site_admin":false},"body":"Can you do `if 0 > 5` and get the error? I don't want to see `0` used as a condition, but would also be okay with `if True`","created_at":"2016-05-11T19:01:15Z","updated_at":"2016-05-11T19:01:15Z","html_url":"https://github.com/pyta-uoft/pyta/pull/12#discussion_r62906546","pull_request_url":"https://api.github.com/repos/pyta-uoft/pyta/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/pyta-uoft/pyta/pulls/comments/62906546"},"html":{"href":"https://github.com/pyta-uoft/pyta/pull/12#discussion_r62906546"},"pull_request":{"href":"https://api.github.com/repos/pyta-uoft/pyta/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/pyta-uoft/pyta/pulls/12","id":69293277,"html_url":"https://github.com/pyta-uoft/pyta/pull/12","diff_url":"https://github.com/pyta-uoft/pyta/pull/12.diff","patch_url":"https://github.com/pyta-uoft/pyta/pull/12.patch","issue_url":"https://api.github.com/repos/pyta-uoft/pyta/issues/12","number":12,"state":"open","locked":false,"title":"Basic checker ","user":{"login":"shweta97","id":9867305,"avatar_url":"https://avatars.githubusercontent.com/u/9867305?v=3","gravatar_id":"","url":"https://api.github.com/users/shweta97","html_url":"https://github.com/shweta97","followers_url":"https://api.github.com/users/shweta97/followers","following_url":"https://api.github.com/users/shweta97/following{/other_user}","gists_url":"https://api.github.com/users/shweta97/gists{/gist_id}","starred_url":"https://api.github.com/users/shweta97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shweta97/subscriptions","organizations_url":"https://api.github.com/users/shweta97/orgs","repos_url":"https://api.github.com/users/shweta97/repos","events_url":"https://api.github.com/users/shweta97/events{/privacy}","received_events_url":"https://api.github.com/users/shweta97/received_events","type":"User","site_admin":false},"body":"Added examples for all the chosen error messages in the basic checker.","created_at":"2016-05-09T04:02:59Z","updated_at":"2016-05-11T19:01:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d2139e69c5be5e7df5a28a3bbe993956618c542","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pyta-uoft/pyta/pulls/12/commits","review_comments_url":"https://api.github.com/repos/pyta-uoft/pyta/pulls/12/comments","review_comment_url":"https://api.github.com/repos/pyta-uoft/pyta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pyta-uoft/pyta/issues/12/comments","statuses_url":"https://api.github.com/repos/pyta-uoft/pyta/statuses/e5434a2e463b43ee299bfd247cee33749de945b1","head":{"label":"shweta97:basic-checker-","ref":"basic-checker-","sha":"e5434a2e463b43ee299bfd247cee33749de945b1","user":{"login":"shweta97","id":9867305,"avatar_url":"https://avatars.githubusercontent.com/u/9867305?v=3","gravatar_id":"","url":"https://api.github.com/users/shweta97","html_url":"https://github.com/shweta97","followers_url":"https://api.github.com/users/shweta97/followers","following_url":"https://api.github.com/users/shweta97/following{/other_user}","gists_url":"https://api.github.com/users/shweta97/gists{/gist_id}","starred_url":"https://api.github.com/users/shweta97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shweta97/subscriptions","organizations_url":"https://api.github.com/users/shweta97/orgs","repos_url":"https://api.github.com/users/shweta97/repos","events_url":"https://api.github.com/users/shweta97/events{/privacy}","received_events_url":"https://api.github.com/users/shweta97/received_events","type":"User","site_admin":false},"repo":{"id":57909021,"name":"pyta","full_name":"shweta97/pyta","owner":{"login":"shweta97","id":9867305,"avatar_url":"https://avatars.githubusercontent.com/u/9867305?v=3","gravatar_id":"","url":"https://api.github.com/users/shweta97","html_url":"https://github.com/shweta97","followers_url":"https://api.github.com/users/shweta97/followers","following_url":"https://api.github.com/users/shweta97/following{/other_user}","gists_url":"https://api.github.com/users/shweta97/gists{/gist_id}","starred_url":"https://api.github.com/users/shweta97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shweta97/subscriptions","organizations_url":"https://api.github.com/users/shweta97/orgs","repos_url":"https://api.github.com/users/shweta97/repos","events_url":"https://api.github.com/users/shweta97/events{/privacy}","received_events_url":"https://api.github.com/users/shweta97/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shweta97/pyta","description":"Adventures in code analysis for teaching Python.","fork":true,"url":"https://api.github.com/repos/shweta97/pyta","forks_url":"https://api.github.com/repos/shweta97/pyta/forks","keys_url":"https://api.github.com/repos/shweta97/pyta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shweta97/pyta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shweta97/pyta/teams","hooks_url":"https://api.github.com/repos/shweta97/pyta/hooks","issue_events_url":"https://api.github.com/repos/shweta97/pyta/issues/events{/number}","events_url":"https://api.github.com/repos/shweta97/pyta/events","assignees_url":"https://api.github.com/repos/shweta97/pyta/assignees{/user}","branches_url":"https://api.github.com/repos/shweta97/pyta/branches{/branch}","tags_url":"https://api.github.com/repos/shweta97/pyta/tags","blobs_url":"https://api.github.com/repos/shweta97/pyta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shweta97/pyta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shweta97/pyta/git/refs{/sha}","trees_url":"https://api.github.com/repos/shweta97/pyta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shweta97/pyta/statuses/{sha}","languages_url":"https://api.github.com/repos/shweta97/pyta/languages","stargazers_url":"https://api.github.com/repos/shweta97/pyta/stargazers","contributors_url":"https://api.github.com/repos/shweta97/pyta/contributors","subscribers_url":"https://api.github.com/repos/shweta97/pyta/subscribers","subscription_url":"https://api.github.com/repos/shweta97/pyta/subscription","commits_url":"https://api.github.com/repos/shweta97/pyta/commits{/sha}","git_commits_url":"https://api.github.com/repos/shweta97/pyta/git/commits{/sha}","comments_url":"https://api.github.com/repos/shweta97/pyta/comments{/number}","issue_comment_url":"https://api.github.com/repos/shweta97/pyta/issues/comments{/number}","contents_url":"https://api.github.com/repos/shweta97/pyta/contents/{+path}","compare_url":"https://api.github.com/repos/shweta97/pyta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shweta97/pyta/merges","archive_url":"https://api.github.com/repos/shweta97/pyta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shweta97/pyta/downloads","issues_url":"https://api.github.com/repos/shweta97/pyta/issues{/number}","pulls_url":"https://api.github.com/repos/shweta97/pyta/pulls{/number}","milestones_url":"https://api.github.com/repos/shweta97/pyta/milestones{/number}","notifications_url":"https://api.github.com/repos/shweta97/pyta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shweta97/pyta/labels{/name}","releases_url":"https://api.github.com/repos/shweta97/pyta/releases{/id}","deployments_url":"https://api.github.com/repos/shweta97/pyta/deployments","created_at":"2016-05-02T17:51:07Z","updated_at":"2016-05-02T17:51:09Z","pushed_at":"2016-05-09T03:58:35Z","git_url":"git://github.com/shweta97/pyta.git","ssh_url":"git@github.com:shweta97/pyta.git","clone_url":"https://github.com/shweta97/pyta.git","svn_url":"https://github.com/shweta97/pyta","homepage":null,"size":24,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"master"}},"base":{"label":"pyta-uoft:master","ref":"master","sha":"ff8984828ddde15adcd11feda6164cc454143a9c","user":{"login":"pyta-uoft","id":18420574,"avatar_url":"https://avatars.githubusercontent.com/u/18420574?v=3","gravatar_id":"","url":"https://api.github.com/users/pyta-uoft","html_url":"https://github.com/pyta-uoft","followers_url":"https://api.github.com/users/pyta-uoft/followers","following_url":"https://api.github.com/users/pyta-uoft/following{/other_user}","gists_url":"https://api.github.com/users/pyta-uoft/gists{/gist_id}","starred_url":"https://api.github.com/users/pyta-uoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyta-uoft/subscriptions","organizations_url":"https://api.github.com/users/pyta-uoft/orgs","repos_url":"https://api.github.com/users/pyta-uoft/repos","events_url":"https://api.github.com/users/pyta-uoft/events{/privacy}","received_events_url":"https://api.github.com/users/pyta-uoft/received_events","type":"Organization","site_admin":false},"repo":{"id":52238733,"name":"pyta","full_name":"pyta-uoft/pyta","owner":{"login":"pyta-uoft","id":18420574,"avatar_url":"https://avatars.githubusercontent.com/u/18420574?v=3","gravatar_id":"","url":"https://api.github.com/users/pyta-uoft","html_url":"https://github.com/pyta-uoft","followers_url":"https://api.github.com/users/pyta-uoft/followers","following_url":"https://api.github.com/users/pyta-uoft/following{/other_user}","gists_url":"https://api.github.com/users/pyta-uoft/gists{/gist_id}","starred_url":"https://api.github.com/users/pyta-uoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyta-uoft/subscriptions","organizations_url":"https://api.github.com/users/pyta-uoft/orgs","repos_url":"https://api.github.com/users/pyta-uoft/repos","events_url":"https://api.github.com/users/pyta-uoft/events{/privacy}","received_events_url":"https://api.github.com/users/pyta-uoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pyta-uoft/pyta","description":"Adventures in code analysis for teaching Python.","fork":false,"url":"https://api.github.com/repos/pyta-uoft/pyta","forks_url":"https://api.github.com/repos/pyta-uoft/pyta/forks","keys_url":"https://api.github.com/repos/pyta-uoft/pyta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyta-uoft/pyta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyta-uoft/pyta/teams","hooks_url":"https://api.github.com/repos/pyta-uoft/pyta/hooks","issue_events_url":"https://api.github.com/repos/pyta-uoft/pyta/issues/events{/number}","events_url":"https://api.github.com/repos/pyta-uoft/pyta/events","assignees_url":"https://api.github.com/repos/pyta-uoft/pyta/assignees{/user}","branches_url":"https://api.github.com/repos/pyta-uoft/pyta/branches{/branch}","tags_url":"https://api.github.com/repos/pyta-uoft/pyta/tags","blobs_url":"https://api.github.com/repos/pyta-uoft/pyta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyta-uoft/pyta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyta-uoft/pyta/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyta-uoft/pyta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyta-uoft/pyta/statuses/{sha}","languages_url":"https://api.github.com/repos/pyta-uoft/pyta/languages","stargazers_url":"https://api.github.com/repos/pyta-uoft/pyta/stargazers","contributors_url":"https://api.github.com/repos/pyta-uoft/pyta/contributors","subscribers_url":"https://api.github.com/repos/pyta-uoft/pyta/subscribers","subscription_url":"https://api.github.com/repos/pyta-uoft/pyta/subscription","commits_url":"https://api.github.com/repos/pyta-uoft/pyta/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyta-uoft/pyta/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyta-uoft/pyta/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyta-uoft/pyta/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyta-uoft/pyta/contents/{+path}","compare_url":"https://api.github.com/repos/pyta-uoft/pyta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyta-uoft/pyta/merges","archive_url":"https://api.github.com/repos/pyta-uoft/pyta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyta-uoft/pyta/downloads","issues_url":"https://api.github.com/repos/pyta-uoft/pyta/issues{/number}","pulls_url":"https://api.github.com/repos/pyta-uoft/pyta/pulls{/number}","milestones_url":"https://api.github.com/repos/pyta-uoft/pyta/milestones{/number}","notifications_url":"https://api.github.com/repos/pyta-uoft/pyta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyta-uoft/pyta/labels{/name}","releases_url":"https://api.github.com/repos/pyta-uoft/pyta/releases{/id}","deployments_url":"https://api.github.com/repos/pyta-uoft/pyta/deployments","created_at":"2016-02-22T01:38:12Z","updated_at":"2016-05-04T21:24:10Z","pushed_at":"2016-05-11T14:52:35Z","git_url":"git://github.com/pyta-uoft/pyta.git","ssh_url":"git@github.com:pyta-uoft/pyta.git","clone_url":"https://github.com/pyta-uoft/pyta.git","svn_url":"https://github.com/pyta-uoft/pyta","homepage":null,"size":18,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":18,"forks":6,"open_issues":18,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pyta-uoft/pyta/pulls/12"},"html":{"href":"https://github.com/pyta-uoft/pyta/pull/12"},"issue":{"href":"https://api.github.com/repos/pyta-uoft/pyta/issues/12"},"comments":{"href":"https://api.github.com/repos/pyta-uoft/pyta/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/pyta-uoft/pyta/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/pyta-uoft/pyta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pyta-uoft/pyta/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/pyta-uoft/pyta/statuses/e5434a2e463b43ee299bfd247cee33749de945b1"}}}}