{"action":"closed","number":1022,"pull_request":{"url":"https://api.github.com/repos/gammapy/gammapy/pulls/1022","id":119744116,"html_url":"https://github.com/gammapy/gammapy/pull/1022","diff_url":"https://github.com/gammapy/gammapy/pull/1022.diff","patch_url":"https://github.com/gammapy/gammapy/pull/1022.patch","issue_url":"https://api.github.com/repos/gammapy/gammapy/issues/1022","number":1022,"state":"closed","locked":false,"title":"Minor code cleanup","user":{"login":"cdeil","id":852409,"avatar_url":"https://avatars0.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"body":"This PR contains minor code cleanup for stuff pointed out by `make flake8`.\r\n\r\nIt's a step towards to goal to have (superficially) clean code, i.e. flake8, pylint, pydocstyle pass for Gammapy. (real code / tests / docs cleanup via review is just independent, not done here except to remove some obviously useless old code).","created_at":"2017-05-09T20:17:49Z","updated_at":"2017-05-10T06:03:10Z","closed_at":"2017-05-10T06:03:10Z","merged_at":null,"merge_commit_sha":"e0f33d5112942f52bc6f8ca0344b1345cb933cde","assignee":{"login":"cdeil","id":852409,"avatar_url":"https://avatars0.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"assignees":[{"login":"cdeil","id":852409,"avatar_url":"https://avatars0.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/gammapy/gammapy/milestones/10","html_url":"https://github.com/gammapy/gammapy/milestone/10","labels_url":"https://api.github.com/repos/gammapy/gammapy/milestones/10/labels","id":2282173,"number":10,"title":"0.7","description":"","creator":{"login":"cdeil","id":852409,"avatar_url":"https://avatars0.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"open_issues":109,"closed_issues":15,"state":"open","created_at":"2017-01-27T12:50:29Z","updated_at":"2017-05-10T06:03:10Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/gammapy/gammapy/pulls/1022/commits","review_comments_url":"https://api.github.com/repos/gammapy/gammapy/pulls/1022/comments","review_comment_url":"https://api.github.com/repos/gammapy/gammapy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gammapy/gammapy/issues/1022/comments","statuses_url":"https://api.github.com/repos/gammapy/gammapy/statuses/b8abda6e2a5511cf76863d0f75eb9f34a1ff880c","head":{"label":"cdeil:cleanup","ref":"cleanup","sha":"b8abda6e2a5511cf76863d0f75eb9f34a1ff880c","user":{"login":"cdeil","id":852409,"avatar_url":"https://avatars0.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"repo":{"id":12226099,"name":"gammapy","full_name":"cdeil/gammapy","owner":{"login":"cdeil","id":852409,"avatar_url":"https://avatars0.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdeil/gammapy","description":"Gamma-ray astronomy high-level data analysis Python package","fork":true,"url":"https://api.github.com/repos/cdeil/gammapy","forks_url":"https://api.github.com/repos/cdeil/gammapy/forks","keys_url":"https://api.github.com/repos/cdeil/gammapy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdeil/gammapy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdeil/gammapy/teams","hooks_url":"https://api.github.com/repos/cdeil/gammapy/hooks","issue_events_url":"https://api.github.com/repos/cdeil/gammapy/issues/events{/number}","events_url":"https://api.github.com/repos/cdeil/gammapy/events","assignees_url":"https://api.github.com/repos/cdeil/gammapy/assignees{/user}","branches_url":"https://api.github.com/repos/cdeil/gammapy/branches{/branch}","tags_url":"https://api.github.com/repos/cdeil/gammapy/tags","blobs_url":"https://api.github.com/repos/cdeil/gammapy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdeil/gammapy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdeil/gammapy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdeil/gammapy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdeil/gammapy/statuses/{sha}","languages_url":"https://api.github.com/repos/cdeil/gammapy/languages","stargazers_url":"https://api.github.com/repos/cdeil/gammapy/stargazers","contributors_url":"https://api.github.com/repos/cdeil/gammapy/contributors","subscribers_url":"https://api.github.com/repos/cdeil/gammapy/subscribers","subscription_url":"https://api.github.com/repos/cdeil/gammapy/subscription","commits_url":"https://api.github.com/repos/cdeil/gammapy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdeil/gammapy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdeil/gammapy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdeil/gammapy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdeil/gammapy/contents/{+path}","compare_url":"https://api.github.com/repos/cdeil/gammapy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdeil/gammapy/merges","archive_url":"https://api.github.com/repos/cdeil/gammapy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdeil/gammapy/downloads","issues_url":"https://api.github.com/repos/cdeil/gammapy/issues{/number}","pulls_url":"https://api.github.com/repos/cdeil/gammapy/pulls{/number}","milestones_url":"https://api.github.com/repos/cdeil/gammapy/milestones{/number}","notifications_url":"https://api.github.com/repos/cdeil/gammapy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdeil/gammapy/labels{/name}","releases_url":"https://api.github.com/repos/cdeil/gammapy/releases{/id}","deployments_url":"https://api.github.com/repos/cdeil/gammapy/deployments","created_at":"2013-08-19T19:51:36Z","updated_at":"2015-07-02T09:58:57Z","pushed_at":"2017-05-09T22:13:32Z","git_url":"git://github.com/cdeil/gammapy.git","ssh_url":"git@github.com:cdeil/gammapy.git","clone_url":"https://github.com/cdeil/gammapy.git","svn_url":"https://github.com/cdeil/gammapy","homepage":"https://gammapy.readthedocs.org/","size":8924,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"gammapy:master","ref":"master","sha":"fbdfbe0677f79faf2fcb813995fcd5ec256fbd0a","user":{"login":"gammapy","id":852764,"avatar_url":"https://avatars1.githubusercontent.com/u/852764?v=3","gravatar_id":"","url":"https://api.github.com/users/gammapy","html_url":"https://github.com/gammapy","followers_url":"https://api.github.com/users/gammapy/followers","following_url":"https://api.github.com/users/gammapy/following{/other_user}","gists_url":"https://api.github.com/users/gammapy/gists{/gist_id}","starred_url":"https://api.github.com/users/gammapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gammapy/subscriptions","organizations_url":"https://api.github.com/users/gammapy/orgs","repos_url":"https://api.github.com/users/gammapy/repos","events_url":"https://api.github.com/users/gammapy/events{/privacy}","received_events_url":"https://api.github.com/users/gammapy/received_events","type":"Organization","site_admin":false},"repo":{"id":10073640,"name":"gammapy","full_name":"gammapy/gammapy","owner":{"login":"gammapy","id":852764,"avatar_url":"https://avatars1.githubusercontent.com/u/852764?v=3","gravatar_id":"","url":"https://api.github.com/users/gammapy","html_url":"https://github.com/gammapy","followers_url":"https://api.github.com/users/gammapy/followers","following_url":"https://api.github.com/users/gammapy/following{/other_user}","gists_url":"https://api.github.com/users/gammapy/gists{/gist_id}","starred_url":"https://api.github.com/users/gammapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gammapy/subscriptions","organizations_url":"https://api.github.com/users/gammapy/orgs","repos_url":"https://api.github.com/users/gammapy/repos","events_url":"https://api.github.com/users/gammapy/events{/privacy}","received_events_url":"https://api.github.com/users/gammapy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gammapy/gammapy","description":"A Python package for gamma-ray astronomy","fork":false,"url":"https://api.github.com/repos/gammapy/gammapy","forks_url":"https://api.github.com/repos/gammapy/gammapy/forks","keys_url":"https://api.github.com/repos/gammapy/gammapy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gammapy/gammapy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gammapy/gammapy/teams","hooks_url":"https://api.github.com/repos/gammapy/gammapy/hooks","issue_events_url":"https://api.github.com/repos/gammapy/gammapy/issues/events{/number}","events_url":"https://api.github.com/repos/gammapy/gammapy/events","assignees_url":"https://api.github.com/repos/gammapy/gammapy/assignees{/user}","branches_url":"https://api.github.com/repos/gammapy/gammapy/branches{/branch}","tags_url":"https://api.github.com/repos/gammapy/gammapy/tags","blobs_url":"https://api.github.com/repos/gammapy/gammapy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gammapy/gammapy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gammapy/gammapy/git/refs{/sha}","trees_url":"https://api.github.com/repos/gammapy/gammapy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gammapy/gammapy/statuses/{sha}","languages_url":"https://api.github.com/repos/gammapy/gammapy/languages","stargazers_url":"https://api.github.com/repos/gammapy/gammapy/stargazers","contributors_url":"https://api.github.com/repos/gammapy/gammapy/contributors","subscribers_url":"https://api.github.com/repos/gammapy/gammapy/subscribers","subscription_url":"https://api.github.com/repos/gammapy/gammapy/subscription","commits_url":"https://api.github.com/repos/gammapy/gammapy/commits{/sha}","git_commits_url":"https://api.github.com/repos/gammapy/gammapy/git/commits{/sha}","comments_url":"https://api.github.com/repos/gammapy/gammapy/comments{/number}","issue_comment_url":"https://api.github.com/repos/gammapy/gammapy/issues/comments{/number}","contents_url":"https://api.github.com/repos/gammapy/gammapy/contents/{+path}","compare_url":"https://api.github.com/repos/gammapy/gammapy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gammapy/gammapy/merges","archive_url":"https://api.github.com/repos/gammapy/gammapy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gammapy/gammapy/downloads","issues_url":"https://api.github.com/repos/gammapy/gammapy/issues{/number}","pulls_url":"https://api.github.com/repos/gammapy/gammapy/pulls{/number}","milestones_url":"https://api.github.com/repos/gammapy/gammapy/milestones{/number}","notifications_url":"https://api.github.com/repos/gammapy/gammapy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gammapy/gammapy/labels{/name}","releases_url":"https://api.github.com/repos/gammapy/gammapy/releases{/id}","deployments_url":"https://api.github.com/repos/gammapy/gammapy/deployments","created_at":"2013-05-15T07:50:40Z","updated_at":"2017-05-04T20:40:37Z","pushed_at":"2017-05-10T06:01:03Z","git_url":"git://github.com/gammapy/gammapy.git","ssh_url":"git@github.com:gammapy/gammapy.git","clone_url":"https://github.com/gammapy/gammapy.git","svn_url":"https://github.com/gammapy/gammapy","homepage":"http://docs.gammapy.org","size":8777,"stargazers_count":31,"watchers_count":31,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":184,"forks":56,"open_issues":184,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/1022"},"html":{"href":"https://github.com/gammapy/gammapy/pull/1022"},"issue":{"href":"https://api.github.com/repos/gammapy/gammapy/issues/1022"},"comments":{"href":"https://api.github.com/repos/gammapy/gammapy/issues/1022/comments"},"review_comments":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/1022/comments"},"review_comment":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gammapy/gammapy/pulls/1022/commits"},"statuses":{"href":"https://api.github.com/repos/gammapy/gammapy/statuses/b8abda6e2a5511cf76863d0f75eb9f34a1ff880c"}},"merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":375,"deletions":457,"changed_files":86}}
{"actor":{"display_login":"cdeil"}}