{"action":"created","comment":{"url":"https://api.github.com/repos/coala/coala/pulls/comments/180639778","pull_request_review_id":111092737,"id":180639778,"diff_hunk":"@@ -16,3 +18,8 @@ def test_(self):\n                           log_printer,\n                           {'setting': ['description', 'bear']})\n         self.assertEqual(fail_acquire_settings(log_printer, {}), None)\n+\n+    def test_format_lines(self):\n+        prompt_msg = 'Enter a number: '\n+        prompt_msg_formatted = '[   ] Enter a number: '\n+        self.assertEqual(format_lines(prompt_msg, symbol='['), prompt_msg_formatted)","path":"tests/output/InteractionsTest.py","position":19,"original_position":19,"commit_id":"1c4b7c9635dea78e8f09a200e105c2f80c51c6f6","original_commit_id":"1c4b7c9635dea78e8f09a200e105c2f80c51c6f6","user":{"login":"gitmate-bot","id":15421488,"avatar_url":"https://avatars0.githubusercontent.com/u/15421488?v=4","gravatar_id":"","url":"https://api.github.com/users/gitmate-bot","html_url":"https://github.com/gitmate-bot","followers_url":"https://api.github.com/users/gitmate-bot/followers","following_url":"https://api.github.com/users/gitmate-bot/following{/other_user}","gists_url":"https://api.github.com/users/gitmate-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/gitmate-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitmate-bot/subscriptions","organizations_url":"https://api.github.com/users/gitmate-bot/orgs","repos_url":"https://api.github.com/users/gitmate-bot/repos","events_url":"https://api.github.com/users/gitmate-bot/events{/privacy}","received_events_url":"https://api.github.com/users/gitmate-bot/received_events","type":"User","site_admin":false},"body":"Line is longer than allowed. (84 > 80)\n\n*Origin: LineLengthBear, Section: `linelength`.*","created_at":"2018-04-11T05:36:35Z","updated_at":"2018-04-11T05:36:35Z","html_url":"https://github.com/coala/coala/pull/5215#discussion_r180639778","pull_request_url":"https://api.github.com/repos/coala/coala/pulls/5215","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/comments/180639778"},"html":{"href":"https://github.com/coala/coala/pull/5215#discussion_r180639778"},"pull_request":{"href":"https://api.github.com/repos/coala/coala/pulls/5215"}}},"pull_request":{"url":"https://api.github.com/repos/coala/coala/pulls/5215","id":171734170,"html_url":"https://github.com/coala/coala/pull/5215","diff_url":"https://github.com/coala/coala/pull/5215.diff","patch_url":"https://github.com/coala/coala/pull/5215.patch","issue_url":"https://api.github.com/repos/coala/coala/issues/5215","number":5215,"state":"open","locked":false,"title":"Remove repeated definitions of format_lines()","user":{"login":"nityeshaga","id":24698858,"avatar_url":"https://avatars1.githubusercontent.com/u/24698858?v=4","gravatar_id":"","url":"https://api.github.com/users/nityeshaga","html_url":"https://github.com/nityeshaga","followers_url":"https://api.github.com/users/nityeshaga/followers","following_url":"https://api.github.com/users/nityeshaga/following{/other_user}","gists_url":"https://api.github.com/users/nityeshaga/gists{/gist_id}","starred_url":"https://api.github.com/users/nityeshaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nityeshaga/subscriptions","organizations_url":"https://api.github.com/users/nityeshaga/orgs","repos_url":"https://api.github.com/users/nityeshaga/repos","events_url":"https://api.github.com/users/nityeshaga/events{/privacy}","received_events_url":"https://api.github.com/users/nityeshaga/received_events","type":"User","site_admin":false},"body":"Replaces the definitions of format_lines() in files- coala_main.py\r\nand ShowAppliedPatchAction.py with import statements that import the\r\nfunction from ConsoleInteraction.py.\r\n\r\nCloses https://github.com/coala/coala/issues/5205\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 `cobot 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-02-27T17:37:30Z","updated_at":"2018-04-11T05:36:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fdd1e52ae8e5c55695d35d4de5975b5b140add40","assignee":{"login":"nityeshaga","id":24698858,"avatar_url":"https://avatars1.githubusercontent.com/u/24698858?v=4","gravatar_id":"","url":"https://api.github.com/users/nityeshaga","html_url":"https://github.com/nityeshaga","followers_url":"https://api.github.com/users/nityeshaga/followers","following_url":"https://api.github.com/users/nityeshaga/following{/other_user}","gists_url":"https://api.github.com/users/nityeshaga/gists{/gist_id}","starred_url":"https://api.github.com/users/nityeshaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nityeshaga/subscriptions","organizations_url":"https://api.github.com/users/nityeshaga/orgs","repos_url":"https://api.github.com/users/nityeshaga/repos","events_url":"https://api.github.com/users/nityeshaga/events{/privacy}","received_events_url":"https://api.github.com/users/nityeshaga/received_events","type":"User","site_admin":false},"assignees":[{"login":"nityeshaga","id":24698858,"avatar_url":"https://avatars1.githubusercontent.com/u/24698858?v=4","gravatar_id":"","url":"https://api.github.com/users/nityeshaga","html_url":"https://github.com/nityeshaga","followers_url":"https://api.github.com/users/nityeshaga/followers","following_url":"https://api.github.com/users/nityeshaga/following{/other_user}","gists_url":"https://api.github.com/users/nityeshaga/gists{/gist_id}","starred_url":"https://api.github.com/users/nityeshaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nityeshaga/subscriptions","organizations_url":"https://api.github.com/users/nityeshaga/orgs","repos_url":"https://api.github.com/users/nityeshaga/repos","events_url":"https://api.github.com/users/nityeshaga/events{/privacy}","received_events_url":"https://api.github.com/users/nityeshaga/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"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},{"id":120888110,"url":"https://api.github.com/repos/coala/coala/labels/type/codestyle","name":"type/codestyle","color":"d4c5f9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/coala/coala/pulls/5215/commits","review_comments_url":"https://api.github.com/repos/coala/coala/pulls/5215/comments","review_comment_url":"https://api.github.com/repos/coala/coala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala/coala/issues/5215/comments","statuses_url":"https://api.github.com/repos/coala/coala/statuses/1c4b7c9635dea78e8f09a200e105c2f80c51c6f6","head":{"label":"nityeshaga:removeRedun3","ref":"removeRedun3","sha":"1c4b7c9635dea78e8f09a200e105c2f80c51c6f6","user":{"login":"nityeshaga","id":24698858,"avatar_url":"https://avatars1.githubusercontent.com/u/24698858?v=4","gravatar_id":"","url":"https://api.github.com/users/nityeshaga","html_url":"https://github.com/nityeshaga","followers_url":"https://api.github.com/users/nityeshaga/followers","following_url":"https://api.github.com/users/nityeshaga/following{/other_user}","gists_url":"https://api.github.com/users/nityeshaga/gists{/gist_id}","starred_url":"https://api.github.com/users/nityeshaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nityeshaga/subscriptions","organizations_url":"https://api.github.com/users/nityeshaga/orgs","repos_url":"https://api.github.com/users/nityeshaga/repos","events_url":"https://api.github.com/users/nityeshaga/events{/privacy}","received_events_url":"https://api.github.com/users/nityeshaga/received_events","type":"User","site_admin":false},"repo":{"id":86810259,"name":"coala","full_name":"nityeshaga/coala","owner":{"login":"nityeshaga","id":24698858,"avatar_url":"https://avatars1.githubusercontent.com/u/24698858?v=4","gravatar_id":"","url":"https://api.github.com/users/nityeshaga","html_url":"https://github.com/nityeshaga","followers_url":"https://api.github.com/users/nityeshaga/followers","following_url":"https://api.github.com/users/nityeshaga/following{/other_user}","gists_url":"https://api.github.com/users/nityeshaga/gists{/gist_id}","starred_url":"https://api.github.com/users/nityeshaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nityeshaga/subscriptions","organizations_url":"https://api.github.com/users/nityeshaga/orgs","repos_url":"https://api.github.com/users/nityeshaga/repos","events_url":"https://api.github.com/users/nityeshaga/events{/privacy}","received_events_url":"https://api.github.com/users/nityeshaga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nityeshaga/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/nityeshaga/coala","forks_url":"https://api.github.com/repos/nityeshaga/coala/forks","keys_url":"https://api.github.com/repos/nityeshaga/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nityeshaga/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nityeshaga/coala/teams","hooks_url":"https://api.github.com/repos/nityeshaga/coala/hooks","issue_events_url":"https://api.github.com/repos/nityeshaga/coala/issues/events{/number}","events_url":"https://api.github.com/repos/nityeshaga/coala/events","assignees_url":"https://api.github.com/repos/nityeshaga/coala/assignees{/user}","branches_url":"https://api.github.com/repos/nityeshaga/coala/branches{/branch}","tags_url":"https://api.github.com/repos/nityeshaga/coala/tags","blobs_url":"https://api.github.com/repos/nityeshaga/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nityeshaga/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nityeshaga/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/nityeshaga/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nityeshaga/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/nityeshaga/coala/languages","stargazers_url":"https://api.github.com/repos/nityeshaga/coala/stargazers","contributors_url":"https://api.github.com/repos/nityeshaga/coala/contributors","subscribers_url":"https://api.github.com/repos/nityeshaga/coala/subscribers","subscription_url":"https://api.github.com/repos/nityeshaga/coala/subscription","commits_url":"https://api.github.com/repos/nityeshaga/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/nityeshaga/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/nityeshaga/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/nityeshaga/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/nityeshaga/coala/contents/{+path}","compare_url":"https://api.github.com/repos/nityeshaga/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nityeshaga/coala/merges","archive_url":"https://api.github.com/repos/nityeshaga/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nityeshaga/coala/downloads","issues_url":"https://api.github.com/repos/nityeshaga/coala/issues{/number}","pulls_url":"https://api.github.com/repos/nityeshaga/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/nityeshaga/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/nityeshaga/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nityeshaga/coala/labels{/name}","releases_url":"https://api.github.com/repos/nityeshaga/coala/releases{/id}","deployments_url":"https://api.github.com/repos/nityeshaga/coala/deployments","created_at":"2017-03-31T11:04:25Z","updated_at":"2017-03-31T11:04:27Z","pushed_at":"2018-04-11T05:35:57Z","git_url":"git://github.com/nityeshaga/coala.git","ssh_url":"git@github.com:nityeshaga/coala.git","clone_url":"https://github.com/nityeshaga/coala.git","svn_url":"https://github.com/nityeshaga/coala","homepage":"https://coala.io/","size":12987,"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":"9e6f36588915d5d0cc3f80a83f44a83635d01af2","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-10T20:13:20Z","pushed_at":"2018-04-11T05:36:00Z","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":13004,"stargazers_count":2169,"watchers_count":2169,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1005,"mirror_url":null,"archived":false,"open_issues_count":766,"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":1005,"open_issues":766,"watchers":2169,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/5215"},"html":{"href":"https://github.com/coala/coala/pull/5215"},"issue":{"href":"https://api.github.com/repos/coala/coala/issues/5215"},"comments":{"href":"https://api.github.com/repos/coala/coala/issues/5215/comments"},"review_comments":{"href":"https://api.github.com/repos/coala/coala/pulls/5215/comments"},"review_comment":{"href":"https://api.github.com/repos/coala/coala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala/coala/pulls/5215/commits"},"statuses":{"href":"https://api.github.com/repos/coala/coala/statuses/1c4b7c9635dea78e8f09a200e105c2f80c51c6f6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gitmate-bot"}}