{"action":"created","comment":{"url":"https://api.github.com/repos/coala/coala/pulls/comments/181774017","pull_request_review_id":112456455,"id":181774017,"diff_hunk":"@@ -664,22 +667,22 @@ def choose_action(console_printer, actions, apply_single=False):\n                 actions_desc_len = len(actions_desc)\n                 if c.isnumeric():\n                     for i, action in enumerate(actions, 0):\n-                        c = int(c)\n-                        if i == c:\n+                        if i == int(c):","path":"coalib/output/ConsoleInteraction.py","position":15,"original_position":16,"commit_id":"cc6d1e663f16e4a92259dc31d7b99802b17d9c76","original_commit_id":"14706159e638d332fa3624c55707b5c88ea7f8cc","user":{"login":"kwsohn","id":17075274,"avatar_url":"https://avatars0.githubusercontent.com/u/17075274?v=4","gravatar_id":"","url":"https://api.github.com/users/kwsohn","html_url":"https://github.com/kwsohn","followers_url":"https://api.github.com/users/kwsohn/followers","following_url":"https://api.github.com/users/kwsohn/following{/other_user}","gists_url":"https://api.github.com/users/kwsohn/gists{/gist_id}","starred_url":"https://api.github.com/users/kwsohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwsohn/subscriptions","organizations_url":"https://api.github.com/users/kwsohn/orgs","repos_url":"https://api.github.com/users/kwsohn/repos","events_url":"https://api.github.com/users/kwsohn/events{/privacy}","received_events_url":"https://api.github.com/users/kwsohn/received_events","type":"User","site_admin":false},"body":"Ahh I see. I'll keep that in mind for the future. Thanks! ","created_at":"2018-04-16T15:02:01Z","updated_at":"2018-04-16T15:02:02Z","html_url":"https://github.com/coala/coala/pull/5352#discussion_r181774017","pull_request_url":"https://api.github.com/repos/coala/coala/pulls/5352","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/comments/181774017"},"html":{"href":"https://github.com/coala/coala/pull/5352#discussion_r181774017"},"pull_request":{"href":"https://api.github.com/repos/coala/coala/pulls/5352"}},"in_reply_to_id":181194855},"pull_request":{"url":"https://api.github.com/repos/coala/coala/pulls/5352","id":180229164,"html_url":"https://github.com/coala/coala/pull/5352","diff_url":"https://github.com/coala/coala/pull/5352.diff","patch_url":"https://github.com/coala/coala/pull/5352.patch","issue_url":"https://api.github.com/repos/coala/coala/issues/5352","number":5352,"state":"open","locked":false,"title":"ConsoleInteraction.py: Improve error message","user":{"login":"kwsohn","id":17075274,"avatar_url":"https://avatars0.githubusercontent.com/u/17075274?v=4","gravatar_id":"","url":"https://api.github.com/users/kwsohn","html_url":"https://github.com/kwsohn","followers_url":"https://api.github.com/users/kwsohn/followers","following_url":"https://api.github.com/users/kwsohn/following{/other_user}","gists_url":"https://api.github.com/users/kwsohn/gists{/gist_id}","starred_url":"https://api.github.com/users/kwsohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwsohn/subscriptions","organizations_url":"https://api.github.com/users/kwsohn/orgs","repos_url":"https://api.github.com/users/kwsohn/repos","events_url":"https://api.github.com/users/kwsohn/events{/privacy}","received_events_url":"https://api.github.com/users/kwsohn/received_events","type":"User","site_admin":false},"body":"This adds color and a new symbol to enhance invalid option error message\r\n\r\nCloses https://github.com/coala/coala/issues/5225\r\n\r\n<!--\r\nThanks for your contribution!\r\n\r\nPlease take a quick look at those things down there. They're quite important.\r\nReally! We wrote them for you. Yes you! With utmost care. Read them.\r\n-->\r\n\r\n**For short term contributors:** we understand that getting your commits well\r\ndefined like we require is a hard task and takes some learning. If you\r\nlook to help without wanting to contribute long term there's no need\r\nfor you to learn this. Just drop us a message and we'll take care of brushing\r\nup your stuff for merge!\r\n\r\n### Checklist\r\n\r\n- [X] I read the [commit guidelines](http://coala.io/commit) and I've followed\r\n      them.\r\n- [X] I ran coala over my code locally. (*All commits have to pass\r\n      individually.* It is not sufficient to have \"fixup commits\" on your PR,\r\n      our bot will still report the issues for the previous commit.) You will\r\n      likely receive a lot of bot comments and build failures if coala does not\r\n      pass on every single commit!\r\n\r\nAfter you submit your pull request, **DO NOT click the 'Update Branch' button.**\r\nWhen asked for a rebase, consult [coala.io/rebase](https://coala.io/rebase)\r\ninstead.\r\n\r\nPlease consider helping us by reviewing other peoples pull requests as well:\r\n\r\n- pick up any PR at <https://coala.io/review>\r\n- review it (check <https://coala.io/reviewing> for more info)\r\n- if you are sure that it needs work, use `corobo mark wip <URL>` to get it out\r\n  of the review queue.\r\n\r\nThe more you review, the more your score will grow at coala.io and we will\r\nreview your PRs faster!\r\n","created_at":"2018-04-09T07:19:08Z","updated_at":"2018-04-16T15:02:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37e1ba49ac908be8c221069b5a2a921f06876676","assignee":{"login":"kwsohn","id":17075274,"avatar_url":"https://avatars0.githubusercontent.com/u/17075274?v=4","gravatar_id":"","url":"https://api.github.com/users/kwsohn","html_url":"https://github.com/kwsohn","followers_url":"https://api.github.com/users/kwsohn/followers","following_url":"https://api.github.com/users/kwsohn/following{/other_user}","gists_url":"https://api.github.com/users/kwsohn/gists{/gist_id}","starred_url":"https://api.github.com/users/kwsohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwsohn/subscriptions","organizations_url":"https://api.github.com/users/kwsohn/orgs","repos_url":"https://api.github.com/users/kwsohn/repos","events_url":"https://api.github.com/users/kwsohn/events{/privacy}","received_events_url":"https://api.github.com/users/kwsohn/received_events","type":"User","site_admin":false},"assignees":[{"login":"kwsohn","id":17075274,"avatar_url":"https://avatars0.githubusercontent.com/u/17075274?v=4","gravatar_id":"","url":"https://api.github.com/users/kwsohn","html_url":"https://github.com/kwsohn","followers_url":"https://api.github.com/users/kwsohn/followers","following_url":"https://api.github.com/users/kwsohn/following{/other_user}","gists_url":"https://api.github.com/users/kwsohn/gists{/gist_id}","starred_url":"https://api.github.com/users/kwsohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwsohn/subscriptions","organizations_url":"https://api.github.com/users/kwsohn/orgs","repos_url":"https://api.github.com/users/kwsohn/repos","events_url":"https://api.github.com/users/kwsohn/events{/privacy}","received_events_url":"https://api.github.com/users/kwsohn/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"Mohit17067","id":32643701,"avatar_url":"https://avatars3.githubusercontent.com/u/32643701?v=4","gravatar_id":"","url":"https://api.github.com/users/Mohit17067","html_url":"https://github.com/Mohit17067","followers_url":"https://api.github.com/users/Mohit17067/followers","following_url":"https://api.github.com/users/Mohit17067/following{/other_user}","gists_url":"https://api.github.com/users/Mohit17067/gists{/gist_id}","starred_url":"https://api.github.com/users/Mohit17067/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mohit17067/subscriptions","organizations_url":"https://api.github.com/users/Mohit17067/orgs","repos_url":"https://api.github.com/users/Mohit17067/repos","events_url":"https://api.github.com/users/Mohit17067/events{/privacy}","received_events_url":"https://api.github.com/users/Mohit17067/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":308858860,"url":"https://api.github.com/repos/coala/coala/labels/area/CLI","name":"area/CLI","color":"006b75","default":false},{"id":308852190,"url":"https://api.github.com/repos/coala/coala/labels/difficulty/low","name":"difficulty/low","color":"207de5","default":false},{"id":141036774,"url":"https://api.github.com/repos/coala/coala/labels/process/pending%20review","name":"process/pending review","color":"bfe5bf","default":false},{"id":293861066,"url":"https://api.github.com/repos/coala/coala/labels/size/XS","name":"size/XS","color":"00DE0F","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/coala/coala/pulls/5352/commits","review_comments_url":"https://api.github.com/repos/coala/coala/pulls/5352/comments","review_comment_url":"https://api.github.com/repos/coala/coala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala/coala/issues/5352/comments","statuses_url":"https://api.github.com/repos/coala/coala/statuses/cc6d1e663f16e4a92259dc31d7b99802b17d9c76","head":{"label":"kwsohn:kwsohn","ref":"kwsohn","sha":"cc6d1e663f16e4a92259dc31d7b99802b17d9c76","user":{"login":"kwsohn","id":17075274,"avatar_url":"https://avatars0.githubusercontent.com/u/17075274?v=4","gravatar_id":"","url":"https://api.github.com/users/kwsohn","html_url":"https://github.com/kwsohn","followers_url":"https://api.github.com/users/kwsohn/followers","following_url":"https://api.github.com/users/kwsohn/following{/other_user}","gists_url":"https://api.github.com/users/kwsohn/gists{/gist_id}","starred_url":"https://api.github.com/users/kwsohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwsohn/subscriptions","organizations_url":"https://api.github.com/users/kwsohn/orgs","repos_url":"https://api.github.com/users/kwsohn/repos","events_url":"https://api.github.com/users/kwsohn/events{/privacy}","received_events_url":"https://api.github.com/users/kwsohn/received_events","type":"User","site_admin":false},"repo":{"id":127570769,"name":"coala","full_name":"kwsohn/coala","owner":{"login":"kwsohn","id":17075274,"avatar_url":"https://avatars0.githubusercontent.com/u/17075274?v=4","gravatar_id":"","url":"https://api.github.com/users/kwsohn","html_url":"https://github.com/kwsohn","followers_url":"https://api.github.com/users/kwsohn/followers","following_url":"https://api.github.com/users/kwsohn/following{/other_user}","gists_url":"https://api.github.com/users/kwsohn/gists{/gist_id}","starred_url":"https://api.github.com/users/kwsohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwsohn/subscriptions","organizations_url":"https://api.github.com/users/kwsohn/orgs","repos_url":"https://api.github.com/users/kwsohn/repos","events_url":"https://api.github.com/users/kwsohn/events{/privacy}","received_events_url":"https://api.github.com/users/kwsohn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kwsohn/coala","description":"coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.","fork":true,"url":"https://api.github.com/repos/kwsohn/coala","forks_url":"https://api.github.com/repos/kwsohn/coala/forks","keys_url":"https://api.github.com/repos/kwsohn/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kwsohn/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kwsohn/coala/teams","hooks_url":"https://api.github.com/repos/kwsohn/coala/hooks","issue_events_url":"https://api.github.com/repos/kwsohn/coala/issues/events{/number}","events_url":"https://api.github.com/repos/kwsohn/coala/events","assignees_url":"https://api.github.com/repos/kwsohn/coala/assignees{/user}","branches_url":"https://api.github.com/repos/kwsohn/coala/branches{/branch}","tags_url":"https://api.github.com/repos/kwsohn/coala/tags","blobs_url":"https://api.github.com/repos/kwsohn/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kwsohn/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kwsohn/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/kwsohn/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kwsohn/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/kwsohn/coala/languages","stargazers_url":"https://api.github.com/repos/kwsohn/coala/stargazers","contributors_url":"https://api.github.com/repos/kwsohn/coala/contributors","subscribers_url":"https://api.github.com/repos/kwsohn/coala/subscribers","subscription_url":"https://api.github.com/repos/kwsohn/coala/subscription","commits_url":"https://api.github.com/repos/kwsohn/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/kwsohn/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/kwsohn/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/kwsohn/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/kwsohn/coala/contents/{+path}","compare_url":"https://api.github.com/repos/kwsohn/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kwsohn/coala/merges","archive_url":"https://api.github.com/repos/kwsohn/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kwsohn/coala/downloads","issues_url":"https://api.github.com/repos/kwsohn/coala/issues{/number}","pulls_url":"https://api.github.com/repos/kwsohn/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/kwsohn/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/kwsohn/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kwsohn/coala/labels{/name}","releases_url":"https://api.github.com/repos/kwsohn/coala/releases{/id}","deployments_url":"https://api.github.com/repos/kwsohn/coala/deployments","created_at":"2018-03-31T20:58:23Z","updated_at":"2018-03-31T20:58:26Z","pushed_at":"2018-04-16T13:19:52Z","git_url":"git://github.com/kwsohn/coala.git","ssh_url":"git@github.com:kwsohn/coala.git","clone_url":"https://github.com/kwsohn/coala.git","svn_url":"https://github.com/kwsohn/coala","homepage":"https://coala.io/","size":12932,"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":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coala:master","ref":"master","sha":"11d42c656023d587f6b4adf2015e6247bd124861","user":{"login":"coala","id":10620750,"avatar_url":"https://avatars3.githubusercontent.com/u/10620750?v=4","gravatar_id":"","url":"https://api.github.com/users/coala","html_url":"https://github.com/coala","followers_url":"https://api.github.com/users/coala/followers","following_url":"https://api.github.com/users/coala/following{/other_user}","gists_url":"https://api.github.com/users/coala/gists{/gist_id}","starred_url":"https://api.github.com/users/coala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala/subscriptions","organizations_url":"https://api.github.com/users/coala/orgs","repos_url":"https://api.github.com/users/coala/repos","events_url":"https://api.github.com/users/coala/events{/privacy}","received_events_url":"https://api.github.com/users/coala/received_events","type":"Organization","site_admin":false},"repo":{"id":19816973,"name":"coala","full_name":"coala/coala","owner":{"login":"coala","id":10620750,"avatar_url":"https://avatars3.githubusercontent.com/u/10620750?v=4","gravatar_id":"","url":"https://api.github.com/users/coala","html_url":"https://github.com/coala","followers_url":"https://api.github.com/users/coala/followers","following_url":"https://api.github.com/users/coala/following{/other_user}","gists_url":"https://api.github.com/users/coala/gists{/gist_id}","starred_url":"https://api.github.com/users/coala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala/subscriptions","organizations_url":"https://api.github.com/users/coala/orgs","repos_url":"https://api.github.com/users/coala/repos","events_url":"https://api.github.com/users/coala/events{/privacy}","received_events_url":"https://api.github.com/users/coala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coala/coala","description":"coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.","fork":false,"url":"https://api.github.com/repos/coala/coala","forks_url":"https://api.github.com/repos/coala/coala/forks","keys_url":"https://api.github.com/repos/coala/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coala/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coala/coala/teams","hooks_url":"https://api.github.com/repos/coala/coala/hooks","issue_events_url":"https://api.github.com/repos/coala/coala/issues/events{/number}","events_url":"https://api.github.com/repos/coala/coala/events","assignees_url":"https://api.github.com/repos/coala/coala/assignees{/user}","branches_url":"https://api.github.com/repos/coala/coala/branches{/branch}","tags_url":"https://api.github.com/repos/coala/coala/tags","blobs_url":"https://api.github.com/repos/coala/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coala/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coala/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/coala/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coala/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/coala/coala/languages","stargazers_url":"https://api.github.com/repos/coala/coala/stargazers","contributors_url":"https://api.github.com/repos/coala/coala/contributors","subscribers_url":"https://api.github.com/repos/coala/coala/subscribers","subscription_url":"https://api.github.com/repos/coala/coala/subscription","commits_url":"https://api.github.com/repos/coala/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/coala/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/coala/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/coala/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/coala/coala/contents/{+path}","compare_url":"https://api.github.com/repos/coala/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coala/coala/merges","archive_url":"https://api.github.com/repos/coala/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coala/coala/downloads","issues_url":"https://api.github.com/repos/coala/coala/issues{/number}","pulls_url":"https://api.github.com/repos/coala/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/coala/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/coala/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coala/coala/labels{/name}","releases_url":"https://api.github.com/repos/coala/coala/releases{/id}","deployments_url":"https://api.github.com/repos/coala/coala/deployments","created_at":"2014-05-15T11:35:34Z","updated_at":"2018-04-16T14:35:54Z","pushed_at":"2018-04-16T14:35:18Z","git_url":"git://github.com/coala/coala.git","ssh_url":"git@github.com:coala/coala.git","clone_url":"https://github.com/coala/coala.git","svn_url":"https://github.com/coala/coala","homepage":"https://coala.io/","size":13009,"stargazers_count":2201,"watchers_count":2201,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1012,"mirror_url":null,"archived":false,"open_issues_count":774,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":1012,"open_issues":774,"watchers":2201,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/5352"},"html":{"href":"https://github.com/coala/coala/pull/5352"},"issue":{"href":"https://api.github.com/repos/coala/coala/issues/5352"},"comments":{"href":"https://api.github.com/repos/coala/coala/issues/5352/comments"},"review_comments":{"href":"https://api.github.com/repos/coala/coala/pulls/5352/comments"},"review_comment":{"href":"https://api.github.com/repos/coala/coala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala/coala/pulls/5352/commits"},"statuses":{"href":"https://api.github.com/repos/coala/coala/statuses/cc6d1e663f16e4a92259dc31d7b99802b17d9c76"}},"author_association":"NONE"}}
{"actor":{"display_login":"kwsohn"}}