{"action":"created","comment":{"url":"https://api.github.com/repos/coala/coala/pulls/comments/91144183","pull_request_review_id":11653797,"id":91144183,"diff_hunk":"@@ -0,0 +1,18 @@\n+import unittest\n+\n+from coalib.bearlib.languages.Language import Language\n+\n+\n+class LanguageAttributeErrorTest(unittest.TestCase):\n+\n+    def setUp(self):\n+        self.lang = Language['C#']\n+\n+    def tearDown(self):\n+    \tpass    \n+\n+    def test_file_empty(self):\n+        with self.assertRaises(AttributeError):\n+        \tself.lang.not_an_attribute\n+\n+        ","path":"tests/bearlib/languages/LanguageAttributeErrorTest.py","position":18,"original_position":18,"commit_id":"86a2465835c3bfd8407c8986f429b988783426c6","original_commit_id":"86a2465835c3bfd8407c8986f429b988783426c6","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":"Line contains following spacing inconsistencies:\n- Trailing whitespaces.\n\n*SpaceConsistencyBear, severity NORMAL, section `python`.*\n\nThe issue can be fixed by applying the following patch:\n\n```diff\n--- a/tests/bearlib/languages/LanguageAttributeErrorTest.py\n+++ b/tests/bearlib/languages/LanguageAttributeErrorTest.py\n@@ -15,4 +15,4 @@\n         with self.assertRaises(AttributeError):\n         \tself.lang.not_an_attribute\n \n-        \n+\n```","created_at":"2016-12-06T18:46:52Z","updated_at":"2016-12-06T18:46:52Z","html_url":"https://github.com/coala/coala/pull/3168#discussion_r91144183","pull_request_url":"https://api.github.com/repos/coala/coala/pulls/3168","_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/comments/91144183"},"html":{"href":"https://github.com/coala/coala/pull/3168#discussion_r91144183"},"pull_request":{"href":"https://api.github.com/repos/coala/coala/pulls/3168"}}},"pull_request":{"url":"https://api.github.com/repos/coala/coala/pulls/3168","id":96738291,"html_url":"https://github.com/coala/coala/pull/3168","diff_url":"https://github.com/coala/coala/pull/3168.diff","patch_url":"https://github.com/coala/coala/pull/3168.patch","issue_url":"https://api.github.com/repos/coala/coala/issues/3168","number":3168,"state":"open","locked":false,"title":"WIP Language.py: Raise AttributeError in __getattr__ ","user":{"login":"hemangsk","id":13018570,"avatar_url":"https://avatars.githubusercontent.com/u/13018570?v=3","gravatar_id":"","url":"https://api.github.com/users/hemangsk","html_url":"https://github.com/hemangsk","followers_url":"https://api.github.com/users/hemangsk/followers","following_url":"https://api.github.com/users/hemangsk/following{/other_user}","gists_url":"https://api.github.com/users/hemangsk/gists{/gist_id}","starred_url":"https://api.github.com/users/hemangsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemangsk/subscriptions","organizations_url":"https://api.github.com/users/hemangsk/orgs","repos_url":"https://api.github.com/users/hemangsk/repos","events_url":"https://api.github.com/users/hemangsk/events{/privacy}","received_events_url":"https://api.github.com/users/hemangsk/received_events","type":"User","site_admin":false},"body":"<!--\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- [x] I have rebased properly. Please see [our tutorial on rebasing](http://coala.readthedocs.io/en/latest/Developers/Git_Basics.html#rebasing).\r\n- [x] I have gone through the [commit guidelines](http://coala.readthedocs.io/en/latest/Developers/Writing_Good_Commits.html) and I've followed them.\r\n- [x] I have followed the [guidelines for the commit shortlog](http://docs.coala.io/en/latest/Developers/Writing_Good_Commits.html#shortlog).\r\n- [x] I have followed the [guidelines for the commit body](http://docs.coala.io/en/latest/Developers/Writing_Good_Commits.html#commit-body).\r\n- [x] 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://docs.coala.io/en/latest/Developers/Writing_Good_Commits.html#issue-reference).\r\n- [ ] I have [run all the tests](http://coala.readthedocs.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### 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\r\nFixes https://github.com/coala/coala/issues/3160","created_at":"2016-12-06T14:54:07Z","updated_at":"2016-12-06T18:46:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1cf37d6ef83e26a8050140cb0686f309e347ac1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/coala/coala/pulls/3168/commits","review_comments_url":"https://api.github.com/repos/coala/coala/pulls/3168/comments","review_comment_url":"https://api.github.com/repos/coala/coala/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala/coala/issues/3168/comments","statuses_url":"https://api.github.com/repos/coala/coala/statuses/86a2465835c3bfd8407c8986f429b988783426c6","head":{"label":"hemangsk:hemangsk_patch2","ref":"hemangsk_patch2","sha":"86a2465835c3bfd8407c8986f429b988783426c6","user":{"login":"hemangsk","id":13018570,"avatar_url":"https://avatars.githubusercontent.com/u/13018570?v=3","gravatar_id":"","url":"https://api.github.com/users/hemangsk","html_url":"https://github.com/hemangsk","followers_url":"https://api.github.com/users/hemangsk/followers","following_url":"https://api.github.com/users/hemangsk/following{/other_user}","gists_url":"https://api.github.com/users/hemangsk/gists{/gist_id}","starred_url":"https://api.github.com/users/hemangsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemangsk/subscriptions","organizations_url":"https://api.github.com/users/hemangsk/orgs","repos_url":"https://api.github.com/users/hemangsk/repos","events_url":"https://api.github.com/users/hemangsk/events{/privacy}","received_events_url":"https://api.github.com/users/hemangsk/received_events","type":"User","site_admin":false},"repo":{"id":75536455,"name":"coala","full_name":"hemangsk/coala","owner":{"login":"hemangsk","id":13018570,"avatar_url":"https://avatars.githubusercontent.com/u/13018570?v=3","gravatar_id":"","url":"https://api.github.com/users/hemangsk","html_url":"https://github.com/hemangsk","followers_url":"https://api.github.com/users/hemangsk/followers","following_url":"https://api.github.com/users/hemangsk/following{/other_user}","gists_url":"https://api.github.com/users/hemangsk/gists{/gist_id}","starred_url":"https://api.github.com/users/hemangsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemangsk/subscriptions","organizations_url":"https://api.github.com/users/hemangsk/orgs","repos_url":"https://api.github.com/users/hemangsk/repos","events_url":"https://api.github.com/users/hemangsk/events{/privacy}","received_events_url":"https://api.github.com/users/hemangsk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hemangsk/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/hemangsk/coala","forks_url":"https://api.github.com/repos/hemangsk/coala/forks","keys_url":"https://api.github.com/repos/hemangsk/coala/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hemangsk/coala/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hemangsk/coala/teams","hooks_url":"https://api.github.com/repos/hemangsk/coala/hooks","issue_events_url":"https://api.github.com/repos/hemangsk/coala/issues/events{/number}","events_url":"https://api.github.com/repos/hemangsk/coala/events","assignees_url":"https://api.github.com/repos/hemangsk/coala/assignees{/user}","branches_url":"https://api.github.com/repos/hemangsk/coala/branches{/branch}","tags_url":"https://api.github.com/repos/hemangsk/coala/tags","blobs_url":"https://api.github.com/repos/hemangsk/coala/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hemangsk/coala/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hemangsk/coala/git/refs{/sha}","trees_url":"https://api.github.com/repos/hemangsk/coala/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hemangsk/coala/statuses/{sha}","languages_url":"https://api.github.com/repos/hemangsk/coala/languages","stargazers_url":"https://api.github.com/repos/hemangsk/coala/stargazers","contributors_url":"https://api.github.com/repos/hemangsk/coala/contributors","subscribers_url":"https://api.github.com/repos/hemangsk/coala/subscribers","subscription_url":"https://api.github.com/repos/hemangsk/coala/subscription","commits_url":"https://api.github.com/repos/hemangsk/coala/commits{/sha}","git_commits_url":"https://api.github.com/repos/hemangsk/coala/git/commits{/sha}","comments_url":"https://api.github.com/repos/hemangsk/coala/comments{/number}","issue_comment_url":"https://api.github.com/repos/hemangsk/coala/issues/comments{/number}","contents_url":"https://api.github.com/repos/hemangsk/coala/contents/{+path}","compare_url":"https://api.github.com/repos/hemangsk/coala/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hemangsk/coala/merges","archive_url":"https://api.github.com/repos/hemangsk/coala/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hemangsk/coala/downloads","issues_url":"https://api.github.com/repos/hemangsk/coala/issues{/number}","pulls_url":"https://api.github.com/repos/hemangsk/coala/pulls{/number}","milestones_url":"https://api.github.com/repos/hemangsk/coala/milestones{/number}","notifications_url":"https://api.github.com/repos/hemangsk/coala/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hemangsk/coala/labels{/name}","releases_url":"https://api.github.com/repos/hemangsk/coala/releases{/id}","deployments_url":"https://api.github.com/repos/hemangsk/coala/deployments","created_at":"2016-12-04T12:37:53Z","updated_at":"2016-12-04T12:37:55Z","pushed_at":"2016-12-06T18:46:13Z","git_url":"git://github.com/hemangsk/coala.git","ssh_url":"git@github.com:hemangsk/coala.git","clone_url":"https://github.com/hemangsk/coala.git","svn_url":"https://github.com/hemangsk/coala","homepage":"https://coala.io/","size":10641,"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":"5b2df9e29e326c712980b194741e7a7aadca0f52","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":"2016-12-06T17:14:01Z","pushed_at":"2016-12-06T18:46:14Z","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":13050,"stargazers_count":836,"watchers_count":836,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":348,"mirror_url":null,"open_issues_count":303,"forks":348,"open_issues":303,"watchers":836,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala/coala/pulls/3168"},"html":{"href":"https://github.com/coala/coala/pull/3168"},"issue":{"href":"https://api.github.com/repos/coala/coala/issues/3168"},"comments":{"href":"https://api.github.com/repos/coala/coala/issues/3168/comments"},"review_comments":{"href":"https://api.github.com/repos/coala/coala/pulls/3168/comments"},"review_comment":{"href":"https://api.github.com/repos/coala/coala/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala/coala/pulls/3168/commits"},"statuses":{"href":"https://api.github.com/repos/coala/coala/statuses/86a2465835c3bfd8407c8986f429b988783426c6"}}}}
{"actor":{"display_login":"gitmate-bot"}}