{"action":"opened","number":203,"pull_request":{"url":"https://api.github.com/repos/wannier-developers/wannier90/pulls/203","id":220741194,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNzQxMTk0","html_url":"https://github.com/wannier-developers/wannier90/pull/203","diff_url":"https://github.com/wannier-developers/wannier90/pull/203.diff","patch_url":"https://github.com/wannier-developers/wannier90/pull/203.patch","issue_url":"https://api.github.com/repos/wannier-developers/wannier90/issues/203","number":203,"state":"open","locked":false,"title":"Added pre-commit hooks to fix indentation and trailing whitespace","user":{"login":"giovannipizzi","id":16132028,"node_id":"MDQ6VXNlcjE2MTMyMDI4","avatar_url":"https://avatars0.githubusercontent.com/u/16132028?v=4","gravatar_id":"","url":"https://api.github.com/users/giovannipizzi","html_url":"https://github.com/giovannipizzi","followers_url":"https://api.github.com/users/giovannipizzi/followers","following_url":"https://api.github.com/users/giovannipizzi/following{/other_user}","gists_url":"https://api.github.com/users/giovannipizzi/gists{/gist_id}","starred_url":"https://api.github.com/users/giovannipizzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovannipizzi/subscriptions","organizations_url":"https://api.github.com/users/giovannipizzi/orgs","repos_url":"https://api.github.com/users/giovannipizzi/repos","events_url":"https://api.github.com/users/giovannipizzi/events{/privacy}","received_events_url":"https://api.github.com/users/giovannipizzi/received_events","type":"User","site_admin":false},"body":"This uses the `fprettify` code by P. Seewald. This fixes #190 \r\n\r\nThis is a big PR because it touches almost every file, but the relevant commits to check would be ddb2ef9 and 6ef21e4 for the manual fixes to long lines, and the ones that add the pre-commit configuration.\r\n\r\nNote that the wiki with the contributors guide is already updated to explain how to install and use the prettifier and install the git hooks.","created_at":"2018-10-05T15:31:06Z","updated_at":"2018-10-05T15:31:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wannier-developers/wannier90/pulls/203/commits","review_comments_url":"https://api.github.com/repos/wannier-developers/wannier90/pulls/203/comments","review_comment_url":"https://api.github.com/repos/wannier-developers/wannier90/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wannier-developers/wannier90/issues/203/comments","statuses_url":"https://api.github.com/repos/wannier-developers/wannier90/statuses/6ef21e4eee7e61c9b1dd4bf61052018513b8be61","head":{"label":"giovannipizzi:aa_fix_indent_from_develop","ref":"aa_fix_indent_from_develop","sha":"6ef21e4eee7e61c9b1dd4bf61052018513b8be61","user":{"login":"giovannipizzi","id":16132028,"node_id":"MDQ6VXNlcjE2MTMyMDI4","avatar_url":"https://avatars0.githubusercontent.com/u/16132028?v=4","gravatar_id":"","url":"https://api.github.com/users/giovannipizzi","html_url":"https://github.com/giovannipizzi","followers_url":"https://api.github.com/users/giovannipizzi/followers","following_url":"https://api.github.com/users/giovannipizzi/following{/other_user}","gists_url":"https://api.github.com/users/giovannipizzi/gists{/gist_id}","starred_url":"https://api.github.com/users/giovannipizzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovannipizzi/subscriptions","organizations_url":"https://api.github.com/users/giovannipizzi/orgs","repos_url":"https://api.github.com/users/giovannipizzi/repos","events_url":"https://api.github.com/users/giovannipizzi/events{/privacy}","received_events_url":"https://api.github.com/users/giovannipizzi/received_events","type":"User","site_admin":false},"repo":{"id":68028336,"node_id":"MDEwOlJlcG9zaXRvcnk2ODAyODMzNg==","name":"wannier90","full_name":"giovannipizzi/wannier90","private":false,"owner":{"login":"giovannipizzi","id":16132028,"node_id":"MDQ6VXNlcjE2MTMyMDI4","avatar_url":"https://avatars0.githubusercontent.com/u/16132028?v=4","gravatar_id":"","url":"https://api.github.com/users/giovannipizzi","html_url":"https://github.com/giovannipizzi","followers_url":"https://api.github.com/users/giovannipizzi/followers","following_url":"https://api.github.com/users/giovannipizzi/following{/other_user}","gists_url":"https://api.github.com/users/giovannipizzi/gists{/gist_id}","starred_url":"https://api.github.com/users/giovannipizzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovannipizzi/subscriptions","organizations_url":"https://api.github.com/users/giovannipizzi/orgs","repos_url":"https://api.github.com/users/giovannipizzi/repos","events_url":"https://api.github.com/users/giovannipizzi/events{/privacy}","received_events_url":"https://api.github.com/users/giovannipizzi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/giovannipizzi/wannier90","description":"Official repository of the Wannier90 code","fork":true,"url":"https://api.github.com/repos/giovannipizzi/wannier90","forks_url":"https://api.github.com/repos/giovannipizzi/wannier90/forks","keys_url":"https://api.github.com/repos/giovannipizzi/wannier90/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giovannipizzi/wannier90/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giovannipizzi/wannier90/teams","hooks_url":"https://api.github.com/repos/giovannipizzi/wannier90/hooks","issue_events_url":"https://api.github.com/repos/giovannipizzi/wannier90/issues/events{/number}","events_url":"https://api.github.com/repos/giovannipizzi/wannier90/events","assignees_url":"https://api.github.com/repos/giovannipizzi/wannier90/assignees{/user}","branches_url":"https://api.github.com/repos/giovannipizzi/wannier90/branches{/branch}","tags_url":"https://api.github.com/repos/giovannipizzi/wannier90/tags","blobs_url":"https://api.github.com/repos/giovannipizzi/wannier90/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giovannipizzi/wannier90/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giovannipizzi/wannier90/git/refs{/sha}","trees_url":"https://api.github.com/repos/giovannipizzi/wannier90/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giovannipizzi/wannier90/statuses/{sha}","languages_url":"https://api.github.com/repos/giovannipizzi/wannier90/languages","stargazers_url":"https://api.github.com/repos/giovannipizzi/wannier90/stargazers","contributors_url":"https://api.github.com/repos/giovannipizzi/wannier90/contributors","subscribers_url":"https://api.github.com/repos/giovannipizzi/wannier90/subscribers","subscription_url":"https://api.github.com/repos/giovannipizzi/wannier90/subscription","commits_url":"https://api.github.com/repos/giovannipizzi/wannier90/commits{/sha}","git_commits_url":"https://api.github.com/repos/giovannipizzi/wannier90/git/commits{/sha}","comments_url":"https://api.github.com/repos/giovannipizzi/wannier90/comments{/number}","issue_comment_url":"https://api.github.com/repos/giovannipizzi/wannier90/issues/comments{/number}","contents_url":"https://api.github.com/repos/giovannipizzi/wannier90/contents/{+path}","compare_url":"https://api.github.com/repos/giovannipizzi/wannier90/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giovannipizzi/wannier90/merges","archive_url":"https://api.github.com/repos/giovannipizzi/wannier90/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giovannipizzi/wannier90/downloads","issues_url":"https://api.github.com/repos/giovannipizzi/wannier90/issues{/number}","pulls_url":"https://api.github.com/repos/giovannipizzi/wannier90/pulls{/number}","milestones_url":"https://api.github.com/repos/giovannipizzi/wannier90/milestones{/number}","notifications_url":"https://api.github.com/repos/giovannipizzi/wannier90/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giovannipizzi/wannier90/labels{/name}","releases_url":"https://api.github.com/repos/giovannipizzi/wannier90/releases{/id}","deployments_url":"https://api.github.com/repos/giovannipizzi/wannier90/deployments","created_at":"2016-09-12T16:47:13Z","updated_at":"2018-10-05T10:31:07Z","pushed_at":"2018-10-05T14:56:00Z","git_url":"git://github.com/giovannipizzi/wannier90.git","ssh_url":"git@github.com:giovannipizzi/wannier90.git","clone_url":"https://github.com/giovannipizzi/wannier90.git","svn_url":"https://github.com/giovannipizzi/wannier90","homepage":"http://www.wannier.org","size":136208,"stargazers_count":1,"watchers_count":1,"language":"Fortran","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":1,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"wannier-developers:develop","ref":"develop","sha":"7105413307718fa140f32b313f49024e032c6d34","user":{"login":"wannier-developers","id":19983471,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTgzNDcx","avatar_url":"https://avatars0.githubusercontent.com/u/19983471?v=4","gravatar_id":"","url":"https://api.github.com/users/wannier-developers","html_url":"https://github.com/wannier-developers","followers_url":"https://api.github.com/users/wannier-developers/followers","following_url":"https://api.github.com/users/wannier-developers/following{/other_user}","gists_url":"https://api.github.com/users/wannier-developers/gists{/gist_id}","starred_url":"https://api.github.com/users/wannier-developers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wannier-developers/subscriptions","organizations_url":"https://api.github.com/users/wannier-developers/orgs","repos_url":"https://api.github.com/users/wannier-developers/repos","events_url":"https://api.github.com/users/wannier-developers/events{/privacy}","received_events_url":"https://api.github.com/users/wannier-developers/received_events","type":"Organization","site_admin":false},"repo":{"id":61329351,"node_id":"MDEwOlJlcG9zaXRvcnk2MTMyOTM1MQ==","name":"wannier90","full_name":"wannier-developers/wannier90","private":false,"owner":{"login":"wannier-developers","id":19983471,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTgzNDcx","avatar_url":"https://avatars0.githubusercontent.com/u/19983471?v=4","gravatar_id":"","url":"https://api.github.com/users/wannier-developers","html_url":"https://github.com/wannier-developers","followers_url":"https://api.github.com/users/wannier-developers/followers","following_url":"https://api.github.com/users/wannier-developers/following{/other_user}","gists_url":"https://api.github.com/users/wannier-developers/gists{/gist_id}","starred_url":"https://api.github.com/users/wannier-developers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wannier-developers/subscriptions","organizations_url":"https://api.github.com/users/wannier-developers/orgs","repos_url":"https://api.github.com/users/wannier-developers/repos","events_url":"https://api.github.com/users/wannier-developers/events{/privacy}","received_events_url":"https://api.github.com/users/wannier-developers/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wannier-developers/wannier90","description":"Official repository of the Wannier90 code","fork":false,"url":"https://api.github.com/repos/wannier-developers/wannier90","forks_url":"https://api.github.com/repos/wannier-developers/wannier90/forks","keys_url":"https://api.github.com/repos/wannier-developers/wannier90/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wannier-developers/wannier90/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wannier-developers/wannier90/teams","hooks_url":"https://api.github.com/repos/wannier-developers/wannier90/hooks","issue_events_url":"https://api.github.com/repos/wannier-developers/wannier90/issues/events{/number}","events_url":"https://api.github.com/repos/wannier-developers/wannier90/events","assignees_url":"https://api.github.com/repos/wannier-developers/wannier90/assignees{/user}","branches_url":"https://api.github.com/repos/wannier-developers/wannier90/branches{/branch}","tags_url":"https://api.github.com/repos/wannier-developers/wannier90/tags","blobs_url":"https://api.github.com/repos/wannier-developers/wannier90/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wannier-developers/wannier90/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wannier-developers/wannier90/git/refs{/sha}","trees_url":"https://api.github.com/repos/wannier-developers/wannier90/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wannier-developers/wannier90/statuses/{sha}","languages_url":"https://api.github.com/repos/wannier-developers/wannier90/languages","stargazers_url":"https://api.github.com/repos/wannier-developers/wannier90/stargazers","contributors_url":"https://api.github.com/repos/wannier-developers/wannier90/contributors","subscribers_url":"https://api.github.com/repos/wannier-developers/wannier90/subscribers","subscription_url":"https://api.github.com/repos/wannier-developers/wannier90/subscription","commits_url":"https://api.github.com/repos/wannier-developers/wannier90/commits{/sha}","git_commits_url":"https://api.github.com/repos/wannier-developers/wannier90/git/commits{/sha}","comments_url":"https://api.github.com/repos/wannier-developers/wannier90/comments{/number}","issue_comment_url":"https://api.github.com/repos/wannier-developers/wannier90/issues/comments{/number}","contents_url":"https://api.github.com/repos/wannier-developers/wannier90/contents/{+path}","compare_url":"https://api.github.com/repos/wannier-developers/wannier90/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wannier-developers/wannier90/merges","archive_url":"https://api.github.com/repos/wannier-developers/wannier90/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wannier-developers/wannier90/downloads","issues_url":"https://api.github.com/repos/wannier-developers/wannier90/issues{/number}","pulls_url":"https://api.github.com/repos/wannier-developers/wannier90/pulls{/number}","milestones_url":"https://api.github.com/repos/wannier-developers/wannier90/milestones{/number}","notifications_url":"https://api.github.com/repos/wannier-developers/wannier90/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wannier-developers/wannier90/labels{/name}","releases_url":"https://api.github.com/repos/wannier-developers/wannier90/releases{/id}","deployments_url":"https://api.github.com/repos/wannier-developers/wannier90/deployments","created_at":"2016-06-16T22:18:20Z","updated_at":"2018-10-05T14:37:41Z","pushed_at":"2018-10-05T14:37:39Z","git_url":"git://github.com/wannier-developers/wannier90.git","ssh_url":"git@github.com:wannier-developers/wannier90.git","clone_url":"https://github.com/wannier-developers/wannier90.git","svn_url":"https://github.com/wannier-developers/wannier90","homepage":"http://www.wannier.org","size":136126,"stargazers_count":45,"watchers_count":45,"language":"Fortran","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":42,"open_issues":20,"watchers":45,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/wannier-developers/wannier90/pulls/203"},"html":{"href":"https://github.com/wannier-developers/wannier90/pull/203"},"issue":{"href":"https://api.github.com/repos/wannier-developers/wannier90/issues/203"},"comments":{"href":"https://api.github.com/repos/wannier-developers/wannier90/issues/203/comments"},"review_comments":{"href":"https://api.github.com/repos/wannier-developers/wannier90/pulls/203/comments"},"review_comment":{"href":"https://api.github.com/repos/wannier-developers/wannier90/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wannier-developers/wannier90/pulls/203/commits"},"statuses":{"href":"https://api.github.com/repos/wannier-developers/wannier90/statuses/6ef21e4eee7e61c9b1dd4bf61052018513b8be61"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":10,"additions":25962,"deletions":26455,"changed_files":42}}
{"actor":{"display_login":"giovannipizzi"}}