{"action":"opened","issue":{"url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/217","repository_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide","labels_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/217/comments","events_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/217/events","html_url":"https://github.com/wemake-services/wemake-python-styleguide/issues/217","id":367323124,"node_id":"MDU6SXNzdWUzNjczMjMxMjQ=","number":217,"title":"Forbid `for` loops with unused `else`","user":{"login":"sobolevn","id":4660275,"node_id":"MDQ6VXNlcjQ2NjAyNzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4660275?v=4","gravatar_id":"","url":"https://api.github.com/users/sobolevn","html_url":"https://github.com/sobolevn","followers_url":"https://api.github.com/users/sobolevn/followers","following_url":"https://api.github.com/users/sobolevn/following{/other_user}","gists_url":"https://api.github.com/users/sobolevn/gists{/gist_id}","starred_url":"https://api.github.com/users/sobolevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sobolevn/subscriptions","organizations_url":"https://api.github.com/users/sobolevn/orgs","repos_url":"https://api.github.com/users/sobolevn/repos","events_url":"https://api.github.com/users/sobolevn/events{/privacy}","received_events_url":"https://api.github.com/users/sobolevn/received_events","type":"User","site_admin":false},"labels":[{"id":1075902010,"node_id":"MDU6TGFiZWwxMDc1OTAyMDEw","url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/labels/Hacktoberfest","name":"Hacktoberfest","color":"ffa78c","default":false},{"id":862014852,"node_id":"MDU6TGFiZWw4NjIwMTQ4NTI=","url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/labels/help%20wanted","name":"help wanted","color":"008672","default":true},{"id":862014853,"node_id":"MDU6TGFiZWw4NjIwMTQ4NTM=","url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/labels/level:starter","name":"level:starter","color":"7057ff","default":false},{"id":980065946,"node_id":"MDU6TGFiZWw5ODAwNjU5NDY=","url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/labels/rule%20request","name":"rule request","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/milestones/1","html_url":"https://github.com/wemake-services/wemake-python-styleguide/milestone/1","labels_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/milestones/1/labels","id":3715701,"node_id":"MDk6TWlsZXN0b25lMzcxNTcwMQ==","number":1,"title":"Version 0.3.0","description":"","creator":{"login":"sobolevn","id":4660275,"node_id":"MDQ6VXNlcjQ2NjAyNzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4660275?v=4","gravatar_id":"","url":"https://api.github.com/users/sobolevn","html_url":"https://github.com/sobolevn","followers_url":"https://api.github.com/users/sobolevn/followers","following_url":"https://api.github.com/users/sobolevn/following{/other_user}","gists_url":"https://api.github.com/users/sobolevn/gists{/gist_id}","starred_url":"https://api.github.com/users/sobolevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sobolevn/subscriptions","organizations_url":"https://api.github.com/users/sobolevn/orgs","repos_url":"https://api.github.com/users/sobolevn/repos","events_url":"https://api.github.com/users/sobolevn/events{/privacy}","received_events_url":"https://api.github.com/users/sobolevn/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2018-10-05T17:09:23Z","updated_at":"2018-10-05T18:37:00Z","due_on":"2018-10-31T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-10-05T18:37:00Z","updated_at":"2018-10-05T18:37:00Z","closed_at":null,"author_association":"MEMBER","body":"# Rule request\r\n\r\n<!-- Thanks for coming up with a proposal! -->\r\n\r\n## Thesis\r\n\r\nWe can tell when `else` blocks are unused: to be used there should be at least one `break` statement inside a loop's body.\r\n\r\n## Reasoning\r\n\r\nThis rule will reduce complexity, improve readability, and protect for possible errors.\r\n"}}
{"actor":{"display_login":"sobolevn"}}