{"action":"created","comment":{"url":"https://api.github.com/repos/coala/coala/pulls/comments/97855036","pull_request_review_id":18478138,"id":97855036,"diff_hunk":"@@ -461,9 +455,7 @@ def test_print_results_project_wide(self):\n \n     def test_print_results_for_file(self):\n         with retrieve_stdout() as stdout:\n-            print_results(\n-                self.log_printer,\n-                Section(''),\n+            print_results(Section(''),\n                 [Result.from_values('SpaceConsistencyBear',","path":"tests/output/ConsoleInteractionTest.py","position":92,"original_position":92,"commit_id":"56da8b94cffd851d57964690f01154998ce2f0fb","original_commit_id":"56da8b94cffd851d57964690f01154998ce2f0fb","user":{"login":"gitmate-bot","id":15421488,"avatar_url":"https://avatars.githubusercontent.com/u/15421488?v=3","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":"The code does not comply to PEP8.\n\n*PEP8Bear, severity NORMAL, section `autopep8`.*\n\nThe issue can be fixed by applying the following patch:\n\n```diff\n--- a/tests/output/ConsoleInteractionTest.py\n+++ b/tests/output/ConsoleInteractionTest.py\n@@ -456,13 +456,14 @@\n     def test_print_results_for_file(self):\n         with retrieve_stdout() as stdout:\n             print_results(Section(''),\n-                [Result.from_values('SpaceConsistencyBear',\n-                                    'Trailing whitespace found',\n-                                    file='filename',\n-                                    line=2)],\n-                {abspath('filename'): ['test line\\n', 'line 2\\n', 'line 3\\n']},\n-                {},\n-                self.console_printer)\n+                          [Result.from_values('SpaceConsistencyBear',\n+                                              'Trailing whitespace found',\n+                                              file='filename',\n+                                              line=2)],\n+                          {abspath('filename'): [\n+                                   'test line\\n', 'line 2\\n', 'line 3\\n']},\n+                          {},\n+                          self.console_printer)\n             self.assertEqual(\"\"\"\\nfilename\n |   2| {}\n |    | [NORMAL] SpaceConsistencyBear:\n```","created_at":"2017-01-25T19:11:48Z","updated_at":"2017-01-25T19:11:48Z","html_url":"https://github.com/coala/coala/pull/3633#discussion_r97855036","pull_request_url":"https://api.github.com/repos/coala/coala/pulls/3633","_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/comments/97855036"},"html":{"href":"https://github.com/coala/coala/pull/3633#discussion_r97855036"},"pull_request":{"href":"https://api.github.com/repos/coala/coala/pulls/3633"}}},"pull_request":{"url":"https://api.github.com/repos/coala/coala/pulls/3633","id":103183312,"html_url":"https://github.com/coala/coala/pull/3633","diff_url":"https://github.com/coala/coala/pull/3633.diff","patch_url":"https://github.com/coala/coala/pull/3633.patch","issue_url":"https://api.github.com/repos/coala/coala/issues/3633","number":3633,"state":"open","locked":false,"title":"Output: Replace log_printers with built-in logging","user":{"login":"aptrishu","id":22702242,"avatar_url":"https://avatars.githubusercontent.com/u/22702242?v=3","gravatar_id":"","url":"https://api.github.com/users/aptrishu","html_url":"https://github.com/aptrishu","followers_url":"https://api.github.com/users/aptrishu/followers","following_url":"https://api.github.com/users/aptrishu/following{/other_user}","gists_url":"https://api.github.com/users/aptrishu/gists{/gist_id}","starred_url":"https://api.github.com/users/aptrishu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aptrishu/subscriptions","organizations_url":"https://api.github.com/users/aptrishu/orgs","repos_url":"https://api.github.com/users/aptrishu/repos","events_url":"https://api.github.com/users/aptrishu/events{/privacy}","received_events_url":"https://api.github.com/users/aptrishu/received_events","type":"User","site_admin":false},"body":"It replaces log_printers from ConsoleInteraction.py,\r\nProcessing.py and some other places with built-in\r\nlogging.\r\n\r\nCloses https://github.com/coala/coala/issues/3472\r\n\r\n<!--\r\nThanks for your contribution!\r\n\r\nReviewing pull requests takes a lot of time and we're all volunteers. Please make sure you go through the following checklist and all items before pinging someone for a review.\r\n-->\r\n\r\n### Checklist\r\n\r\n- [ ] I have rebased properly. Please see [our tutorial on rebasing](http://coala.io/git#rebasing).\r\n- [ ] I have gone through the [commit guidelines](http://coala.io/commit) and I've followed them.\r\n- [ ] I have followed the [guidelines for the commit shortlog](http://coala.io/commit#shortlog).\r\n- [ ] I have followed the [guidelines for the commit body](http://coala.io/commit#commit-body).\r\n- [ ] I have included the issue URL with the 'Fixes' keyword if the commit fixes a *real bug* and the 'Closes' keyword if it adds a feature or enhancement. For details, check the [issue reference section in our commit guidelines](http://coala.io/commit#issue-reference).\r\n- [ ] I have [run all the tests](http://api.coala.io/en/latest/Developers/Executing_Tests.html) and they all pass. If any CI (below) is not green, please fix them. If GitMate issues appear you will have to amend your commits, pushing new commits on top is not sufficient!\r\n\r\n**After you submit your pull request, DO NOT click the 'Update Branch' button**\r\n\r\n### Reviewers\r\n\r\n<!--\r\nPlease list the Github handles of people you think susceptible to review this PR. Feel free to leave this section blank if you don't know who to tag.\r\n-->\r\n\r\n<!--\r\nEnd note:\r\n\r\nAs you learn things over your Pull Request please help others on the chat and on PRs to get their stuff right as well!\r\n-->\r\n","created_at":"2017-01-25T19:09:37Z","updated_at":"2017-01-25T19:11:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67bab04af18beebd68707ce3a93d872ae55514fd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/coala/coala/pulls/3633/commits","review_comments_url":"https://api.github.com/repos/coala/coala/pulls/3633/comments","review_comment_url":"https://api.github.com/repos/coala/coala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala/coala/issues/3633/comments","statuses_url":"https://api.github.com/repos/coala/coala/statuses/56da8b94cffd851d57964690f01154998ce2f0fb","head":{"label":"aptrishu:issue3472","ref":"issue3472","sha":"56da8b94cffd851d57964690f01154998ce2f0fb","user":{"login":"aptrishu","id":22702242,"avatar_url":"https://avatars.githubusercontent.com/u/22702242?v=3","gravatar_id":"","url":"https://api.github.com/users/aptrishu","html_url":"https://github.com/aptrishu","followers_url":"https://api.github.com/users/aptrishu/followers","following_url":"https://api.github.com/users/aptrishu/following{/other_user}","gists_url":"https://api.github.com/users/aptrishu/gists{/gist_id}","starred_url":"https://api.github.com/users/aptrishu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aptrishu/subscriptions","organizations_url":"https://api.github.com/users/aptrishu/orgs","repos_url":"https://api.github.com/users/aptrishu/repos","events_url":"https://api.github.com/users/aptrishu/events{/privacy}","received_events_url":"https://api.github.com/users/aptrishu/received_events","type":"User","site_admin":false},"repo":{"id":70317856,"name":"coala","full_name":"aptrishu/coala","owner":{"login":"aptrishu","id":22702242,"avatar_url":"https://avatars.githubusercontent.com/u/22702242?v=3","gravatar_id":"","url":"https://api.github.com/users/aptrishu","html_url":"https://github.com/aptrishu","followers_url":"https://api.github.com/users/aptrishu/followers","following_url":"https://api.github.com/users/aptrishu/following{/other_user}","gists_url":"https://api.github.com/users/aptrishu/gists{/gist_id}","starred_url":"https://api.github.com/users/aptrishu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aptrishu/subscriptions","organizations_url":"https://api.github.com/users/aptrishu/orgs","repos_url":"https://api.github.com/users/aptrishu/repos","events_url":"https://api.github.com/users/aptrishu/events{/privacy}","received_events_url":"https://api.github.com/users/aptrishu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aptrishu/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/aptrishu/coala","forks_url":"https://api.github.com/repos/aptrishu/coala/forks","keys_url":"https://api.github.com/repos/aptrishu/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aptrishu/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aptrishu/coala/teams","hooks_url":"https://api.github.com/repos/aptrishu/coala/hooks","issue_events_url":"https://api.github.com/repos/aptrishu/coala/issues/events{/number}","events_url":"https://api.github.com/repos/aptrishu/coala/events","assignees_url":"https://api.github.com/repos/aptrishu/coala/assignees{/user}","branches_url":"https://api.github.com/repos/aptrishu/coala/branches{/branch}","tags_url":"https://api.github.com/repos/aptrishu/coala/tags","blobs_url":"https://api.github.com/repos/aptrishu/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aptrishu/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aptrishu/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/aptrishu/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aptrishu/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/aptrishu/coala/languages","stargazers_url":"https://api.github.com/repos/aptrishu/coala/stargazers","contributors_url":"https://api.github.com/repos/aptrishu/coala/contributors","subscribers_url":"https://api.github.com/repos/aptrishu/coala/subscribers","subscription_url":"https://api.github.com/repos/aptrishu/coala/subscription","commits_url":"https://api.github.com/repos/aptrishu/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/aptrishu/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/aptrishu/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/aptrishu/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/aptrishu/coala/contents/{+path}","compare_url":"https://api.github.com/repos/aptrishu/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aptrishu/coala/merges","archive_url":"https://api.github.com/repos/aptrishu/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aptrishu/coala/downloads","issues_url":"https://api.github.com/repos/aptrishu/coala/issues{/number}","pulls_url":"https://api.github.com/repos/aptrishu/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/aptrishu/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/aptrishu/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aptrishu/coala/labels{/name}","releases_url":"https://api.github.com/repos/aptrishu/coala/releases{/id}","deployments_url":"https://api.github.com/repos/aptrishu/coala/deployments","created_at":"2016-10-08T08:47:48Z","updated_at":"2016-10-08T08:47:49Z","pushed_at":"2017-01-25T19:07:51Z","git_url":"git://github.com/aptrishu/coala.git","ssh_url":"git@github.com:aptrishu/coala.git","clone_url":"https://github.com/aptrishu/coala.git","svn_url":"https://github.com/aptrishu/coala","homepage":"https://coala.io/","size":10916,"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":"coala:master","ref":"master","sha":"a05ec8cf9f99fe8dfcc29cf944557d979c905c33","user":{"login":"coala","id":10620750,"avatar_url":"https://avatars.githubusercontent.com/u/10620750?v=3","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://avatars.githubusercontent.com/u/10620750?v=3","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":"2017-01-25T14:30:48Z","pushed_at":"2017-01-25T19:09:38Z","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":11158,"stargazers_count":1041,"watchers_count":1041,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":442,"mirror_url":null,"open_issues_count":404,"forks":442,"open_issues":404,"watchers":1041,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/3633"},"html":{"href":"https://github.com/coala/coala/pull/3633"},"issue":{"href":"https://api.github.com/repos/coala/coala/issues/3633"},"comments":{"href":"https://api.github.com/repos/coala/coala/issues/3633/comments"},"review_comments":{"href":"https://api.github.com/repos/coala/coala/pulls/3633/comments"},"review_comment":{"href":"https://api.github.com/repos/coala/coala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala/coala/pulls/3633/commits"},"statuses":{"href":"https://api.github.com/repos/coala/coala/statuses/56da8b94cffd851d57964690f01154998ce2f0fb"}}}}
{"actor":{"display_login":"gitmate-bot"}}