{"action":"created","comment":{"url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments/72131836","id":72131836,"diff_hunk":"@@ -0,0 +1,32 @@\n+import re\n+\n+from coalib.bears.LocalBear import LocalBear\n+from coalib.results.Diff import Diff\n+from coalib.results.Result import Result\n+from coalib.results.RESULT_SEVERITY import RESULT_SEVERITY\n+\n+\n+class coalaBear(LocalBear):\n+    LANGUAGES = {\"All\"}\n+    AUTHORS = {'The coala developers'}\n+    AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}\n+    LICENSE = 'AGPL-3.0'\n+    CAN_DETECT = {'Spelling'}\n+\n+    def run(self, filename, file):\n+        \"\"\"\n+        Check for the correct spelling of ``coala`` in the file.\n+        \"\"\"\n+        corrected = []\n+        for line in file:\n+            wrong_spelling = r'C([o,O][a,A][l, L][a,A])'","path":"bears/general/coalaBear.py","position":22,"original_position":22,"commit_id":"bf191499936d529f3b89a7d3e1df5ff22f473891","original_commit_id":"bf191499936d529f3b89a7d3e1df5ff22f473891","user":{"login":"sils1297","id":5716520,"avatar_url":"https://avatars.githubusercontent.com/u/5716520?v=3","gravatar_id":"","url":"https://api.github.com/users/sils1297","html_url":"https://github.com/sils1297","followers_url":"https://api.github.com/users/sils1297/followers","following_url":"https://api.github.com/users/sils1297/following{/other_user}","gists_url":"https://api.github.com/users/sils1297/gists{/gist_id}","starred_url":"https://api.github.com/users/sils1297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sils1297/subscriptions","organizations_url":"https://api.github.com/users/sils1297/orgs","repos_url":"https://api.github.com/users/sils1297/repos","events_url":"https://api.github.com/users/sils1297/events{/privacy}","received_events_url":"https://api.github.com/users/sils1297/received_events","type":"User","site_admin":false},"body":"can't you simply do `[oO][aA]` instead of the comma thing?","created_at":"2016-07-25T19:50:28Z","updated_at":"2016-07-25T19:50:28Z","html_url":"https://github.com/coala-analyzer/coala-bears/pull/628#discussion_r72131836","pull_request_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/628","_links":{"self":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments/72131836"},"html":{"href":"https://github.com/coala-analyzer/coala-bears/pull/628#discussion_r72131836"},"pull_request":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/628"}}},"pull_request":{"url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/628","id":78610819,"html_url":"https://github.com/coala-analyzer/coala-bears/pull/628","diff_url":"https://github.com/coala-analyzer/coala-bears/pull/628.diff","patch_url":"https://github.com/coala-analyzer/coala-bears/pull/628.patch","issue_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/628","number":628,"state":"open","locked":false,"title":"Add coalaBear","user":{"login":"Asnelchristian","id":10449314,"avatar_url":"https://avatars.githubusercontent.com/u/10449314?v=3","gravatar_id":"","url":"https://api.github.com/users/Asnelchristian","html_url":"https://github.com/Asnelchristian","followers_url":"https://api.github.com/users/Asnelchristian/followers","following_url":"https://api.github.com/users/Asnelchristian/following{/other_user}","gists_url":"https://api.github.com/users/Asnelchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/Asnelchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asnelchristian/subscriptions","organizations_url":"https://api.github.com/users/Asnelchristian/orgs","repos_url":"https://api.github.com/users/Asnelchristian/repos","events_url":"https://api.github.com/users/Asnelchristian/events{/privacy}","received_events_url":"https://api.github.com/users/Asnelchristian/received_events","type":"User","site_admin":false},"body":"Closes https://github.com/coala-analyzer/coala-bears/issues/600","created_at":"2016-07-24T21:48:01Z","updated_at":"2016-07-25T19:50:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"595ab12318178b5ad8cd71baa0c79eed47d5ad4d","assignee":{"login":"sils1297","id":5716520,"avatar_url":"https://avatars.githubusercontent.com/u/5716520?v=3","gravatar_id":"","url":"https://api.github.com/users/sils1297","html_url":"https://github.com/sils1297","followers_url":"https://api.github.com/users/sils1297/followers","following_url":"https://api.github.com/users/sils1297/following{/other_user}","gists_url":"https://api.github.com/users/sils1297/gists{/gist_id}","starred_url":"https://api.github.com/users/sils1297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sils1297/subscriptions","organizations_url":"https://api.github.com/users/sils1297/orgs","repos_url":"https://api.github.com/users/sils1297/repos","events_url":"https://api.github.com/users/sils1297/events{/privacy}","received_events_url":"https://api.github.com/users/sils1297/received_events","type":"User","site_admin":false},"assignees":[{"login":"sils1297","id":5716520,"avatar_url":"https://avatars.githubusercontent.com/u/5716520?v=3","gravatar_id":"","url":"https://api.github.com/users/sils1297","html_url":"https://github.com/sils1297","followers_url":"https://api.github.com/users/sils1297/followers","following_url":"https://api.github.com/users/sils1297/following{/other_user}","gists_url":"https://api.github.com/users/sils1297/gists{/gist_id}","starred_url":"https://api.github.com/users/sils1297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sils1297/subscriptions","organizations_url":"https://api.github.com/users/sils1297/orgs","repos_url":"https://api.github.com/users/sils1297/repos","events_url":"https://api.github.com/users/sils1297/events{/privacy}","received_events_url":"https://api.github.com/users/sils1297/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/628/commits","review_comments_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/628/comments","review_comment_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/628/comments","statuses_url":"https://api.github.com/repos/coala-analyzer/coala-bears/statuses/bf191499936d529f3b89a7d3e1df5ff22f473891","head":{"label":"Asnelchristian:master","ref":"master","sha":"bf191499936d529f3b89a7d3e1df5ff22f473891","user":{"login":"Asnelchristian","id":10449314,"avatar_url":"https://avatars.githubusercontent.com/u/10449314?v=3","gravatar_id":"","url":"https://api.github.com/users/Asnelchristian","html_url":"https://github.com/Asnelchristian","followers_url":"https://api.github.com/users/Asnelchristian/followers","following_url":"https://api.github.com/users/Asnelchristian/following{/other_user}","gists_url":"https://api.github.com/users/Asnelchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/Asnelchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asnelchristian/subscriptions","organizations_url":"https://api.github.com/users/Asnelchristian/orgs","repos_url":"https://api.github.com/users/Asnelchristian/repos","events_url":"https://api.github.com/users/Asnelchristian/events{/privacy}","received_events_url":"https://api.github.com/users/Asnelchristian/received_events","type":"User","site_admin":false},"repo":{"id":59282550,"name":"coala-bears","full_name":"Asnelchristian/coala-bears","owner":{"login":"Asnelchristian","id":10449314,"avatar_url":"https://avatars.githubusercontent.com/u/10449314?v=3","gravatar_id":"","url":"https://api.github.com/users/Asnelchristian","html_url":"https://github.com/Asnelchristian","followers_url":"https://api.github.com/users/Asnelchristian/followers","following_url":"https://api.github.com/users/Asnelchristian/following{/other_user}","gists_url":"https://api.github.com/users/Asnelchristian/gists{/gist_id}","starred_url":"https://api.github.com/users/Asnelchristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asnelchristian/subscriptions","organizations_url":"https://api.github.com/users/Asnelchristian/orgs","repos_url":"https://api.github.com/users/Asnelchristian/repos","events_url":"https://api.github.com/users/Asnelchristian/events{/privacy}","received_events_url":"https://api.github.com/users/Asnelchristian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Asnelchristian/coala-bears","description":"Bears for coala","fork":true,"url":"https://api.github.com/repos/Asnelchristian/coala-bears","forks_url":"https://api.github.com/repos/Asnelchristian/coala-bears/forks","keys_url":"https://api.github.com/repos/Asnelchristian/coala-bears/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Asnelchristian/coala-bears/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Asnelchristian/coala-bears/teams","hooks_url":"https://api.github.com/repos/Asnelchristian/coala-bears/hooks","issue_events_url":"https://api.github.com/repos/Asnelchristian/coala-bears/issues/events{/number}","events_url":"https://api.github.com/repos/Asnelchristian/coala-bears/events","assignees_url":"https://api.github.com/repos/Asnelchristian/coala-bears/assignees{/user}","branches_url":"https://api.github.com/repos/Asnelchristian/coala-bears/branches{/branch}","tags_url":"https://api.github.com/repos/Asnelchristian/coala-bears/tags","blobs_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/refs{/sha}","trees_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Asnelchristian/coala-bears/statuses/{sha}","languages_url":"https://api.github.com/repos/Asnelchristian/coala-bears/languages","stargazers_url":"https://api.github.com/repos/Asnelchristian/coala-bears/stargazers","contributors_url":"https://api.github.com/repos/Asnelchristian/coala-bears/contributors","subscribers_url":"https://api.github.com/repos/Asnelchristian/coala-bears/subscribers","subscription_url":"https://api.github.com/repos/Asnelchristian/coala-bears/subscription","commits_url":"https://api.github.com/repos/Asnelchristian/coala-bears/commits{/sha}","git_commits_url":"https://api.github.com/repos/Asnelchristian/coala-bears/git/commits{/sha}","comments_url":"https://api.github.com/repos/Asnelchristian/coala-bears/comments{/number}","issue_comment_url":"https://api.github.com/repos/Asnelchristian/coala-bears/issues/comments{/number}","contents_url":"https://api.github.com/repos/Asnelchristian/coala-bears/contents/{+path}","compare_url":"https://api.github.com/repos/Asnelchristian/coala-bears/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Asnelchristian/coala-bears/merges","archive_url":"https://api.github.com/repos/Asnelchristian/coala-bears/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Asnelchristian/coala-bears/downloads","issues_url":"https://api.github.com/repos/Asnelchristian/coala-bears/issues{/number}","pulls_url":"https://api.github.com/repos/Asnelchristian/coala-bears/pulls{/number}","milestones_url":"https://api.github.com/repos/Asnelchristian/coala-bears/milestones{/number}","notifications_url":"https://api.github.com/repos/Asnelchristian/coala-bears/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Asnelchristian/coala-bears/labels{/name}","releases_url":"https://api.github.com/repos/Asnelchristian/coala-bears/releases{/id}","deployments_url":"https://api.github.com/repos/Asnelchristian/coala-bears/deployments","created_at":"2016-05-20T09:33:44Z","updated_at":"2016-05-20T09:33:45Z","pushed_at":"2016-07-25T19:48:56Z","git_url":"git://github.com/Asnelchristian/coala-bears.git","ssh_url":"git@github.com:Asnelchristian/coala-bears.git","clone_url":"https://github.com/Asnelchristian/coala-bears.git","svn_url":"https://github.com/Asnelchristian/coala-bears","homepage":"http://coala-analyzer.org/","size":854,"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-analyzer:master","ref":"master","sha":"1ba1bfd1688def3f7321a3fc948c9253f03e6fbd","user":{"login":"coala-analyzer","id":10620750,"avatar_url":"https://avatars.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala-analyzer","html_url":"https://github.com/coala-analyzer","followers_url":"https://api.github.com/users/coala-analyzer/followers","following_url":"https://api.github.com/users/coala-analyzer/following{/other_user}","gists_url":"https://api.github.com/users/coala-analyzer/gists{/gist_id}","starred_url":"https://api.github.com/users/coala-analyzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala-analyzer/subscriptions","organizations_url":"https://api.github.com/users/coala-analyzer/orgs","repos_url":"https://api.github.com/users/coala-analyzer/repos","events_url":"https://api.github.com/users/coala-analyzer/events{/privacy}","received_events_url":"https://api.github.com/users/coala-analyzer/received_events","type":"Organization","site_admin":false},"repo":{"id":51688289,"name":"coala-bears","full_name":"coala-analyzer/coala-bears","owner":{"login":"coala-analyzer","id":10620750,"avatar_url":"https://avatars.githubusercontent.com/u/10620750?v=3","gravatar_id":"","url":"https://api.github.com/users/coala-analyzer","html_url":"https://github.com/coala-analyzer","followers_url":"https://api.github.com/users/coala-analyzer/followers","following_url":"https://api.github.com/users/coala-analyzer/following{/other_user}","gists_url":"https://api.github.com/users/coala-analyzer/gists{/gist_id}","starred_url":"https://api.github.com/users/coala-analyzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coala-analyzer/subscriptions","organizations_url":"https://api.github.com/users/coala-analyzer/orgs","repos_url":"https://api.github.com/users/coala-analyzer/repos","events_url":"https://api.github.com/users/coala-analyzer/events{/privacy}","received_events_url":"https://api.github.com/users/coala-analyzer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coala-analyzer/coala-bears","description":"Bears for coala","fork":false,"url":"https://api.github.com/repos/coala-analyzer/coala-bears","forks_url":"https://api.github.com/repos/coala-analyzer/coala-bears/forks","keys_url":"https://api.github.com/repos/coala-analyzer/coala-bears/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coala-analyzer/coala-bears/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coala-analyzer/coala-bears/teams","hooks_url":"https://api.github.com/repos/coala-analyzer/coala-bears/hooks","issue_events_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/events{/number}","events_url":"https://api.github.com/repos/coala-analyzer/coala-bears/events","assignees_url":"https://api.github.com/repos/coala-analyzer/coala-bears/assignees{/user}","branches_url":"https://api.github.com/repos/coala-analyzer/coala-bears/branches{/branch}","tags_url":"https://api.github.com/repos/coala-analyzer/coala-bears/tags","blobs_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/refs{/sha}","trees_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coala-analyzer/coala-bears/statuses/{sha}","languages_url":"https://api.github.com/repos/coala-analyzer/coala-bears/languages","stargazers_url":"https://api.github.com/repos/coala-analyzer/coala-bears/stargazers","contributors_url":"https://api.github.com/repos/coala-analyzer/coala-bears/contributors","subscribers_url":"https://api.github.com/repos/coala-analyzer/coala-bears/subscribers","subscription_url":"https://api.github.com/repos/coala-analyzer/coala-bears/subscription","commits_url":"https://api.github.com/repos/coala-analyzer/coala-bears/commits{/sha}","git_commits_url":"https://api.github.com/repos/coala-analyzer/coala-bears/git/commits{/sha}","comments_url":"https://api.github.com/repos/coala-analyzer/coala-bears/comments{/number}","issue_comment_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/comments{/number}","contents_url":"https://api.github.com/repos/coala-analyzer/coala-bears/contents/{+path}","compare_url":"https://api.github.com/repos/coala-analyzer/coala-bears/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coala-analyzer/coala-bears/merges","archive_url":"https://api.github.com/repos/coala-analyzer/coala-bears/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coala-analyzer/coala-bears/downloads","issues_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues{/number}","pulls_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls{/number}","milestones_url":"https://api.github.com/repos/coala-analyzer/coala-bears/milestones{/number}","notifications_url":"https://api.github.com/repos/coala-analyzer/coala-bears/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coala-analyzer/coala-bears/labels{/name}","releases_url":"https://api.github.com/repos/coala-analyzer/coala-bears/releases{/id}","deployments_url":"https://api.github.com/repos/coala-analyzer/coala-bears/deployments","created_at":"2016-02-14T09:25:11Z","updated_at":"2016-07-20T10:06:55Z","pushed_at":"2016-07-25T19:48:56Z","git_url":"git://github.com/coala-analyzer/coala-bears.git","ssh_url":"git@github.com:coala-analyzer/coala-bears.git","clone_url":"https://github.com/coala-analyzer/coala-bears.git","svn_url":"https://github.com/coala-analyzer/coala-bears","homepage":"http://coala-analyzer.org/","size":9049,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":164,"forks":67,"open_issues":164,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/628"},"html":{"href":"https://github.com/coala-analyzer/coala-bears/pull/628"},"issue":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/628"},"comments":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/628/comments"},"review_comments":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/628/comments"},"review_comment":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/628/commits"},"statuses":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/statuses/bf191499936d529f3b89a7d3e1df5ff22f473891"}}}}
{"actor":{"display_login":"sils1297"}}