{"action":"opened","number":384,"pull_request":{"url":"https://api.github.com/repos/nipy/nipy/pulls/384","id":52068453,"html_url":"https://github.com/nipy/nipy/pull/384","diff_url":"https://github.com/nipy/nipy/pull/384.diff","patch_url":"https://github.com/nipy/nipy/pull/384.patch","issue_url":"https://api.github.com/repos/nipy/nipy/issues/384","number":384,"state":"open","locked":false,"title":"Avoiding conditional directives that split up parts of statements.","user":{"login":"flaviommedeiros","id":4147365,"avatar_url":"https://avatars.githubusercontent.com/u/4147365?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviommedeiros","html_url":"https://github.com/flaviommedeiros","followers_url":"https://api.github.com/users/flaviommedeiros/followers","following_url":"https://api.github.com/users/flaviommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/flaviommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviommedeiros/subscriptions","organizations_url":"https://api.github.com/users/flaviommedeiros/orgs","repos_url":"https://api.github.com/users/flaviommedeiros/repos","events_url":"https://api.github.com/users/flaviommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/flaviommedeiros/received_events","type":"User","site_admin":false},"body":"A suggestion to compile entire statements and expressions, as suggested by code style guidelines from the Linux Kernel and practitioners.\r\n\r\n- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/CodingStyle#n892\r\n- https://www.cqse.eu/en/blog/living-in-the-ifdef-hell/\r\n\r\nIt might improve code understanding, maintainability and error-proneness.","created_at":"2015-11-29T19:11:29Z","updated_at":"2015-11-29T19:11:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nipy/nipy/pulls/384/commits","review_comments_url":"https://api.github.com/repos/nipy/nipy/pulls/384/comments","review_comment_url":"https://api.github.com/repos/nipy/nipy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nipy/nipy/issues/384/comments","statuses_url":"https://api.github.com/repos/nipy/nipy/statuses/5d955c43f25a0c6ae6e29a5f58392a84b240edf4","head":{"label":"flaviommedeiros:master","ref":"master","sha":"5d955c43f25a0c6ae6e29a5f58392a84b240edf4","user":{"login":"flaviommedeiros","id":4147365,"avatar_url":"https://avatars.githubusercontent.com/u/4147365?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviommedeiros","html_url":"https://github.com/flaviommedeiros","followers_url":"https://api.github.com/users/flaviommedeiros/followers","following_url":"https://api.github.com/users/flaviommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/flaviommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviommedeiros/subscriptions","organizations_url":"https://api.github.com/users/flaviommedeiros/orgs","repos_url":"https://api.github.com/users/flaviommedeiros/repos","events_url":"https://api.github.com/users/flaviommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/flaviommedeiros/received_events","type":"User","site_admin":false},"repo":{"id":47076221,"name":"nipy","full_name":"flaviommedeiros/nipy","owner":{"login":"flaviommedeiros","id":4147365,"avatar_url":"https://avatars.githubusercontent.com/u/4147365?v=3","gravatar_id":"","url":"https://api.github.com/users/flaviommedeiros","html_url":"https://github.com/flaviommedeiros","followers_url":"https://api.github.com/users/flaviommedeiros/followers","following_url":"https://api.github.com/users/flaviommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/flaviommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/flaviommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaviommedeiros/subscriptions","organizations_url":"https://api.github.com/users/flaviommedeiros/orgs","repos_url":"https://api.github.com/users/flaviommedeiros/repos","events_url":"https://api.github.com/users/flaviommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/flaviommedeiros/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flaviommedeiros/nipy","description":"Neuroimaging in Python FMRI analysis package","fork":true,"url":"https://api.github.com/repos/flaviommedeiros/nipy","forks_url":"https://api.github.com/repos/flaviommedeiros/nipy/forks","keys_url":"https://api.github.com/repos/flaviommedeiros/nipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flaviommedeiros/nipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flaviommedeiros/nipy/teams","hooks_url":"https://api.github.com/repos/flaviommedeiros/nipy/hooks","issue_events_url":"https://api.github.com/repos/flaviommedeiros/nipy/issues/events{/number}","events_url":"https://api.github.com/repos/flaviommedeiros/nipy/events","assignees_url":"https://api.github.com/repos/flaviommedeiros/nipy/assignees{/user}","branches_url":"https://api.github.com/repos/flaviommedeiros/nipy/branches{/branch}","tags_url":"https://api.github.com/repos/flaviommedeiros/nipy/tags","blobs_url":"https://api.github.com/repos/flaviommedeiros/nipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flaviommedeiros/nipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flaviommedeiros/nipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/flaviommedeiros/nipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flaviommedeiros/nipy/statuses/{sha}","languages_url":"https://api.github.com/repos/flaviommedeiros/nipy/languages","stargazers_url":"https://api.github.com/repos/flaviommedeiros/nipy/stargazers","contributors_url":"https://api.github.com/repos/flaviommedeiros/nipy/contributors","subscribers_url":"https://api.github.com/repos/flaviommedeiros/nipy/subscribers","subscription_url":"https://api.github.com/repos/flaviommedeiros/nipy/subscription","commits_url":"https://api.github.com/repos/flaviommedeiros/nipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/flaviommedeiros/nipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/flaviommedeiros/nipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/flaviommedeiros/nipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/flaviommedeiros/nipy/contents/{+path}","compare_url":"https://api.github.com/repos/flaviommedeiros/nipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flaviommedeiros/nipy/merges","archive_url":"https://api.github.com/repos/flaviommedeiros/nipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flaviommedeiros/nipy/downloads","issues_url":"https://api.github.com/repos/flaviommedeiros/nipy/issues{/number}","pulls_url":"https://api.github.com/repos/flaviommedeiros/nipy/pulls{/number}","milestones_url":"https://api.github.com/repos/flaviommedeiros/nipy/milestones{/number}","notifications_url":"https://api.github.com/repos/flaviommedeiros/nipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flaviommedeiros/nipy/labels{/name}","releases_url":"https://api.github.com/repos/flaviommedeiros/nipy/releases{/id}","created_at":"2015-11-29T19:07:16Z","updated_at":"2015-11-29T19:07:21Z","pushed_at":"2015-11-29T19:11:08Z","git_url":"git://github.com/flaviommedeiros/nipy.git","ssh_url":"git@github.com:flaviommedeiros/nipy.git","clone_url":"https://github.com/flaviommedeiros/nipy.git","svn_url":"https://github.com/flaviommedeiros/nipy","homepage":"http://nipy.org/nipy","size":36534,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nipy:master","ref":"master","sha":"b85ba6b29438080d69bb2ea7b3ae9e32beb12b54","user":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"repo":{"id":642344,"name":"nipy","full_name":"nipy/nipy","owner":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nipy/nipy","description":"Neuroimaging in Python FMRI analysis package","fork":false,"url":"https://api.github.com/repos/nipy/nipy","forks_url":"https://api.github.com/repos/nipy/nipy/forks","keys_url":"https://api.github.com/repos/nipy/nipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nipy/nipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nipy/nipy/teams","hooks_url":"https://api.github.com/repos/nipy/nipy/hooks","issue_events_url":"https://api.github.com/repos/nipy/nipy/issues/events{/number}","events_url":"https://api.github.com/repos/nipy/nipy/events","assignees_url":"https://api.github.com/repos/nipy/nipy/assignees{/user}","branches_url":"https://api.github.com/repos/nipy/nipy/branches{/branch}","tags_url":"https://api.github.com/repos/nipy/nipy/tags","blobs_url":"https://api.github.com/repos/nipy/nipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nipy/nipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nipy/nipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/nipy/nipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nipy/nipy/statuses/{sha}","languages_url":"https://api.github.com/repos/nipy/nipy/languages","stargazers_url":"https://api.github.com/repos/nipy/nipy/stargazers","contributors_url":"https://api.github.com/repos/nipy/nipy/contributors","subscribers_url":"https://api.github.com/repos/nipy/nipy/subscribers","subscription_url":"https://api.github.com/repos/nipy/nipy/subscription","commits_url":"https://api.github.com/repos/nipy/nipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/nipy/nipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/nipy/nipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/nipy/nipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/nipy/nipy/contents/{+path}","compare_url":"https://api.github.com/repos/nipy/nipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nipy/nipy/merges","archive_url":"https://api.github.com/repos/nipy/nipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nipy/nipy/downloads","issues_url":"https://api.github.com/repos/nipy/nipy/issues{/number}","pulls_url":"https://api.github.com/repos/nipy/nipy/pulls{/number}","milestones_url":"https://api.github.com/repos/nipy/nipy/milestones{/number}","notifications_url":"https://api.github.com/repos/nipy/nipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nipy/nipy/labels{/name}","releases_url":"https://api.github.com/repos/nipy/nipy/releases{/id}","created_at":"2010-05-02T10:00:33Z","updated_at":"2015-11-12T18:38:10Z","pushed_at":"2015-11-02T18:21:40Z","git_url":"git://github.com/nipy/nipy.git","ssh_url":"git@github.com:nipy/nipy.git","clone_url":"https://github.com/nipy/nipy.git","svn_url":"https://github.com/nipy/nipy","homepage":"http://nipy.org/nipy","size":39601,"stargazers_count":127,"watchers_count":127,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":73,"mirror_url":null,"open_issues_count":26,"forks":73,"open_issues":26,"watchers":127,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nipy/nipy/pulls/384"},"html":{"href":"https://github.com/nipy/nipy/pull/384"},"issue":{"href":"https://api.github.com/repos/nipy/nipy/issues/384"},"comments":{"href":"https://api.github.com/repos/nipy/nipy/issues/384/comments"},"review_comments":{"href":"https://api.github.com/repos/nipy/nipy/pulls/384/comments"},"review_comment":{"href":"https://api.github.com/repos/nipy/nipy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nipy/nipy/pulls/384/commits"},"statuses":{"href":"https://api.github.com/repos/nipy/nipy/statuses/5d955c43f25a0c6ae6e29a5f58392a84b240edf4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":3,"changed_files":1}}