{"action":"created","comment":{"url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments/67141614","id":67141614,"diff_hunk":"@@ -23,18 +23,160 @@ class GNUIndentBear:\n     def create_arguments(filename, file, config_file,\n                          max_line_length: int=80,\n                          use_spaces: bool=True,\n+                         blank_lines_after_declarations: bool=False,\n+                         blank_lines_after_procedures: bool=False,\n+                         blank_lines_after_commas: bool=False,\n+                         braces_on_if_line: bool=False,\n+                         braces_on_func_def_line: bool=False,\n+                         cuddle_else: bool=False,\n+                         while_and_brace_on_same_line: bool=False,\n+                         case_indentation: int=0,\n+                         space_before_semicolon_after_empty_loop: bool=True,\n+                         delete_optional_blank_lines: bool=False,\n+                         declaration_indent: int=0,\n+                         brace_indent: int=2,\n+                         gnu_style: bool=False,\n+                         k_and_r_style: bool=False,\n+                         linux_style: bool=False,\n                          tab_width: int=SpacingHelper.DEFAULT_TAB_WIDTH,\n                          indent_cli_options: str=''):\n         \"\"\"\n-        :param max_line_length:    Maximum number of characters for a line.\n-        :param use_spaces:         True if spaces are to be used, else tabs.\n-        :param tab_width:          Number of spaces per indent level.\n-        :param indent_cli_options: Any command line options the indent binary\n-                                   understands. They will be simply passed\n-                                   through.\n+        :param max_line_length:\n+            Maximum number of characters for a line.\n+        :param use_spaces:\n+            True if spaces are to be used, else tabs.\n+        :param blank_lines_after_declarations:\n+            Forces blank lines after the declarations.\n+\n+            Example: \n+                If ``True``,\n+                    ```\n+                    int a;\n+                    return ...;\n+                    ```\n+                changes to\n+                    ```\n+                    int a;\n+\n+                    return ...;\n+                    ```\n+\n+        :param blank_lines_after_procedures:\n+            Force blank lines after procedure bodies.\n+        :param blank_lines_after_commas:\n+            Forces newline after comma in declaration.\n+\n+            Example: \n+                If ``True``,\n+                    ```\n+                    int a, b;\n+                    ```\n+                changes to\n+                    ```\n+                    int a,\n+                    b;\n+                    ```\n+        :param braces_on_if_line:\n+            Puts the brace ``{`` on same line with if.\n+\n+            Example: \n+                If ``True``,\n+                    ```\n+                    if (x > 0)\n+                    {\n+                    ```\n+                changes to\n+                    ```\n+                    if (x > 0) {\n+                    ```\n+        :param braces_on_func_def_line:\n+            Puts the brace `{` on same line with the function declaration.\n+        :param cuddle_else:\n+            Cuddle else and preceding ``}``.\n+\n+            Example: ","path":"bears/c_languages/GNUIndentBear.py","position":88,"original_position":88,"commit_id":"c80d4d4f0749a04c5400ff4f3bf3f0571a2452dc","original_commit_id":"c80d4d4f0749a04c5400ff4f3bf3f0571a2452dc","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/bears/c_languages/GNUIndentBear.py\n+++ b/bears/c_languages/GNUIndentBear.py\n@@ -94,7 +94,7 @@\n         :param cuddle_else:\n             Cuddle else and preceding ``}``.\n \n-            Example: \n+            Example:\n                 If ``True``,\n                     ```\n                     if (...) {\n```","created_at":"2016-06-15T11:02:16Z","updated_at":"2016-06-15T11:02:16Z","html_url":"https://github.com/coala-analyzer/coala-bears/pull/519#discussion_r67141614","pull_request_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/519","_links":{"self":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/comments/67141614"},"html":{"href":"https://github.com/coala-analyzer/coala-bears/pull/519#discussion_r67141614"},"pull_request":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/519"}}},"pull_request":{"url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/519","id":73663075,"html_url":"https://github.com/coala-analyzer/coala-bears/pull/519","diff_url":"https://github.com/coala-analyzer/coala-bears/pull/519.diff","patch_url":"https://github.com/coala-analyzer/coala-bears/pull/519.patch","issue_url":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/519","number":519,"state":"open","locked":false,"title":"GNUIndent: Add more configs","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":"Fixes https://github.com/coala-analyzer/coala-bears/issues/373","created_at":"2016-06-14T00:15:45Z","updated_at":"2016-06-15T11:02:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1cfc08e72c6168f8419f870bc27ac6921fd59b72","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/519/commits","review_comments_url":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/519/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/519/comments","statuses_url":"https://api.github.com/repos/coala-analyzer/coala-bears/statuses/c80d4d4f0749a04c5400ff4f3bf3f0571a2452dc","head":{"label":"Asnelchristian:GNUIndent","ref":"GNUIndent","sha":"c80d4d4f0749a04c5400ff4f3bf3f0571a2452dc","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-06-15T11:01:35Z","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":545,"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":"224936f4c9d99d1c7a75dcd8889b78787bb03c21","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-06-13T19:52:49Z","pushed_at":"2016-06-15T11:01:35Z","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":690,"stargazers_count":43,"watchers_count":43,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":128,"forks":52,"open_issues":128,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/519"},"html":{"href":"https://github.com/coala-analyzer/coala-bears/pull/519"},"issue":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/519"},"comments":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/issues/519/comments"},"review_comments":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/pulls/519/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/519/commits"},"statuses":{"href":"https://api.github.com/repos/coala-analyzer/coala-bears/statuses/c80d4d4f0749a04c5400ff4f3bf3f0571a2452dc"}}}}
{"actor":{"display_login":"gitmate-bot"}}