{"action":"opened","number":222,"pull_request":{"url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/pulls/222","id":220868936,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwODY4OTM2","html_url":"https://github.com/wemake-services/wemake-python-styleguide/pull/222","diff_url":"https://github.com/wemake-services/wemake-python-styleguide/pull/222.diff","patch_url":"https://github.com/wemake-services/wemake-python-styleguide/pull/222.patch","issue_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/222","number":222,"state":"open","locked":false,"title":"Restrict incorrect comparison order","user":{"login":"sathwikmatsa","id":30603669,"node_id":"MDQ6VXNlcjMwNjAzNjY5","avatar_url":"https://avatars2.githubusercontent.com/u/30603669?v=4","gravatar_id":"","url":"https://api.github.com/users/sathwikmatsa","html_url":"https://github.com/sathwikmatsa","followers_url":"https://api.github.com/users/sathwikmatsa/followers","following_url":"https://api.github.com/users/sathwikmatsa/following{/other_user}","gists_url":"https://api.github.com/users/sathwikmatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/sathwikmatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sathwikmatsa/subscriptions","organizations_url":"https://api.github.com/users/sathwikmatsa/orgs","repos_url":"https://api.github.com/users/sathwikmatsa/repos","events_url":"https://api.github.com/users/sathwikmatsa/events{/privacy}","received_events_url":"https://api.github.com/users/sathwikmatsa/received_events","type":"User","site_admin":false},"body":"# I have made things!\r\n\r\n<!--\r\nHi, thanks for submitting a Pull Request. We appreciate it.\r\n\r\nPlease, fill in all the required information\r\nto make our review and merging processes easier.\r\n\r\nCheers!\r\n-->\r\n\r\n## Checklist\r\n\r\n<!-- Please check everything that applies: -->\r\n\r\n- [x] I have double checked that there are no unrelated changes in this pull request (old patches, accidental config files, etc)\r\n- [x] I have created at least one test case for the changes I have made\r\n- [x] I have updated the documentation for the changes I have made\r\n- [x] I have added my changes to the `CHANGELOG.md`\r\n\r\n## Related issues\r\n\r\n<!--\r\nMark what issues this Pull Request closes or references.\r\n\r\nFormat is:\r\n- Closes #issue-number\r\n- Refs #issue-number\r\n\r\nExample. Refs #0\r\nDocumentation: https://blog.github.com/2013-05-14-closing-issues-via-pull-requests/\r\n-->\r\nCloses #210 \r\n\r\n<!--\r\nIf you have any feedback, just write it here.\r\n\r\nIt can be whatever you want!\r\n-->\r\n","created_at":"2018-10-06T06:40:58Z","updated_at":"2018-10-06T06:40:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/pulls/222/commits","review_comments_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/pulls/222/comments","review_comment_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/222/comments","statuses_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/statuses/66f2e0ee3b594e40dfe04737d74883ab52c339cd","head":{"label":"sathwikmatsa:restrict-incorrect-comparison-order","ref":"restrict-incorrect-comparison-order","sha":"66f2e0ee3b594e40dfe04737d74883ab52c339cd","user":{"login":"sathwikmatsa","id":30603669,"node_id":"MDQ6VXNlcjMwNjAzNjY5","avatar_url":"https://avatars2.githubusercontent.com/u/30603669?v=4","gravatar_id":"","url":"https://api.github.com/users/sathwikmatsa","html_url":"https://github.com/sathwikmatsa","followers_url":"https://api.github.com/users/sathwikmatsa/followers","following_url":"https://api.github.com/users/sathwikmatsa/following{/other_user}","gists_url":"https://api.github.com/users/sathwikmatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/sathwikmatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sathwikmatsa/subscriptions","organizations_url":"https://api.github.com/users/sathwikmatsa/orgs","repos_url":"https://api.github.com/users/sathwikmatsa/repos","events_url":"https://api.github.com/users/sathwikmatsa/events{/privacy}","received_events_url":"https://api.github.com/users/sathwikmatsa/received_events","type":"User","site_admin":false},"repo":{"id":151754617,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3NTQ2MTc=","name":"wemake-python-styleguide","full_name":"sathwikmatsa/wemake-python-styleguide","private":false,"owner":{"login":"sathwikmatsa","id":30603669,"node_id":"MDQ6VXNlcjMwNjAzNjY5","avatar_url":"https://avatars2.githubusercontent.com/u/30603669?v=4","gravatar_id":"","url":"https://api.github.com/users/sathwikmatsa","html_url":"https://github.com/sathwikmatsa","followers_url":"https://api.github.com/users/sathwikmatsa/followers","following_url":"https://api.github.com/users/sathwikmatsa/following{/other_user}","gists_url":"https://api.github.com/users/sathwikmatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/sathwikmatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sathwikmatsa/subscriptions","organizations_url":"https://api.github.com/users/sathwikmatsa/orgs","repos_url":"https://api.github.com/users/sathwikmatsa/repos","events_url":"https://api.github.com/users/sathwikmatsa/events{/privacy}","received_events_url":"https://api.github.com/users/sathwikmatsa/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sathwikmatsa/wemake-python-styleguide","description":"The most opinionated linter ever","fork":true,"url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide","forks_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/forks","keys_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/teams","hooks_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/hooks","issue_events_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/issues/events{/number}","events_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/events","assignees_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/assignees{/user}","branches_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/branches{/branch}","tags_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/tags","blobs_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/statuses/{sha}","languages_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/languages","stargazers_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/stargazers","contributors_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/contributors","subscribers_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/subscribers","subscription_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/subscription","commits_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/contents/{+path}","compare_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/merges","archive_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/downloads","issues_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/issues{/number}","pulls_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/pulls{/number}","milestones_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/milestones{/number}","notifications_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/labels{/name}","releases_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/releases{/id}","deployments_url":"https://api.github.com/repos/sathwikmatsa/wemake-python-styleguide/deployments","created_at":"2018-10-05T17:18:18Z","updated_at":"2018-10-05T17:18:20Z","pushed_at":"2018-10-06T06:33:43Z","git_url":"git://github.com/sathwikmatsa/wemake-python-styleguide.git","ssh_url":"git@github.com:sathwikmatsa/wemake-python-styleguide.git","clone_url":"https://github.com/sathwikmatsa/wemake-python-styleguide.git","svn_url":"https://github.com/sathwikmatsa/wemake-python-styleguide","homepage":"https://wemake-python-styleguide.rtfd.io","size":525,"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":"wemake-services:master","ref":"master","sha":"b0016b411196f08a5e937e60086b188fe06ed960","user":{"login":"wemake-services","id":19639014,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjM5MDE0","avatar_url":"https://avatars2.githubusercontent.com/u/19639014?v=4","gravatar_id":"","url":"https://api.github.com/users/wemake-services","html_url":"https://github.com/wemake-services","followers_url":"https://api.github.com/users/wemake-services/followers","following_url":"https://api.github.com/users/wemake-services/following{/other_user}","gists_url":"https://api.github.com/users/wemake-services/gists{/gist_id}","starred_url":"https://api.github.com/users/wemake-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wemake-services/subscriptions","organizations_url":"https://api.github.com/users/wemake-services/orgs","repos_url":"https://api.github.com/users/wemake-services/repos","events_url":"https://api.github.com/users/wemake-services/events{/privacy}","received_events_url":"https://api.github.com/users/wemake-services/received_events","type":"Organization","site_admin":false},"repo":{"id":124593057,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ1OTMwNTc=","name":"wemake-python-styleguide","full_name":"wemake-services/wemake-python-styleguide","private":false,"owner":{"login":"wemake-services","id":19639014,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjM5MDE0","avatar_url":"https://avatars2.githubusercontent.com/u/19639014?v=4","gravatar_id":"","url":"https://api.github.com/users/wemake-services","html_url":"https://github.com/wemake-services","followers_url":"https://api.github.com/users/wemake-services/followers","following_url":"https://api.github.com/users/wemake-services/following{/other_user}","gists_url":"https://api.github.com/users/wemake-services/gists{/gist_id}","starred_url":"https://api.github.com/users/wemake-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wemake-services/subscriptions","organizations_url":"https://api.github.com/users/wemake-services/orgs","repos_url":"https://api.github.com/users/wemake-services/repos","events_url":"https://api.github.com/users/wemake-services/events{/privacy}","received_events_url":"https://api.github.com/users/wemake-services/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wemake-services/wemake-python-styleguide","description":"The most opinionated linter ever","fork":false,"url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide","forks_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/forks","keys_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/teams","hooks_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/hooks","issue_events_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/events{/number}","events_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/events","assignees_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/assignees{/user}","branches_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/branches{/branch}","tags_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/tags","blobs_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/git/refs{/sha}","trees_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/statuses/{sha}","languages_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/languages","stargazers_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/stargazers","contributors_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/contributors","subscribers_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/subscribers","subscription_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/subscription","commits_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/commits{/sha}","git_commits_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/git/commits{/sha}","comments_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/comments{/number}","issue_comment_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/comments{/number}","contents_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/contents/{+path}","compare_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/merges","archive_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/downloads","issues_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues{/number}","pulls_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/pulls{/number}","milestones_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/milestones{/number}","notifications_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/labels{/name}","releases_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/releases{/id}","deployments_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/deployments","created_at":"2018-03-09T21:04:25Z","updated_at":"2018-10-05T20:19:13Z","pushed_at":"2018-10-05T23:47:35Z","git_url":"git://github.com/wemake-services/wemake-python-styleguide.git","ssh_url":"git@github.com:wemake-services/wemake-python-styleguide.git","clone_url":"https://github.com/wemake-services/wemake-python-styleguide.git","svn_url":"https://github.com/wemake-services/wemake-python-styleguide","homepage":"https://wemake-python-styleguide.rtfd.io","size":538,"stargazers_count":29,"watchers_count":29,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":20,"open_issues":28,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/pulls/222"},"html":{"href":"https://github.com/wemake-services/wemake-python-styleguide/pull/222"},"issue":{"href":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/222"},"comments":{"href":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/statuses/66f2e0ee3b594e40dfe04737d74883ab52c339cd"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":119,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"sathwikmatsa"}}