{"action":"opened","number":80,"pull_request":{"url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls/80","id":207308734,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MzA4NzM0","html_url":"https://github.com/GEMScienceTools/oq-mbtk/pull/80","diff_url":"https://github.com/GEMScienceTools/oq-mbtk/pull/80.diff","patch_url":"https://github.com/GEMScienceTools/oq-mbtk/pull/80.patch","issue_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues/80","number":80,"state":"open","locked":false,"title":"Pylint partial refactoring","user":{"login":"nastasi-oq","id":1670278,"node_id":"MDQ6VXNlcjE2NzAyNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/1670278?v=4","gravatar_id":"","url":"https://api.github.com/users/nastasi-oq","html_url":"https://github.com/nastasi-oq","followers_url":"https://api.github.com/users/nastasi-oq/followers","following_url":"https://api.github.com/users/nastasi-oq/following{/other_user}","gists_url":"https://api.github.com/users/nastasi-oq/gists{/gist_id}","starred_url":"https://api.github.com/users/nastasi-oq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nastasi-oq/subscriptions","organizations_url":"https://api.github.com/users/nastasi-oq/orgs","repos_url":"https://api.github.com/users/nastasi-oq/repos","events_url":"https://api.github.com/users/nastasi-oq/events{/privacy}","received_events_url":"https://api.github.com/users/nastasi-oq/received_events","type":"User","site_admin":false},"body":"With this PR we add a dependency from pylint and fix some error reported by the tool.\r\nIncluded:\r\n  * a full pylint report (mbtk.lint)\r\n  * the list of errors only (mitk.errors.lint)\r\n  * a list of each type of pylint alerts ordered by their frequences.\r\n\r\n**NOTE**:\r\nTo avoid problems with packages with the same ``openquake`` namespace already installed I mangled the mbtk base namespace to ``openquakez`` replacing all occurrencies  of ``openquake.{man,sub,mbt}`` with ``openquakez....``.","created_at":"2018-08-09T13:02:58Z","updated_at":"2018-08-09T13:02:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/milestones/2","html_url":"https://github.com/GEMScienceTools/oq-mbtk/milestone/2","labels_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/milestones/2/labels","id":3516376,"node_id":"MDk6TWlsZXN0b25lMzUxNjM3Ng==","number":2,"title":"0.2.2","description":null,"creator":{"login":"nastasi-oq","id":1670278,"node_id":"MDQ6VXNlcjE2NzAyNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/1670278?v=4","gravatar_id":"","url":"https://api.github.com/users/nastasi-oq","html_url":"https://github.com/nastasi-oq","followers_url":"https://api.github.com/users/nastasi-oq/followers","following_url":"https://api.github.com/users/nastasi-oq/following{/other_user}","gists_url":"https://api.github.com/users/nastasi-oq/gists{/gist_id}","starred_url":"https://api.github.com/users/nastasi-oq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nastasi-oq/subscriptions","organizations_url":"https://api.github.com/users/nastasi-oq/orgs","repos_url":"https://api.github.com/users/nastasi-oq/repos","events_url":"https://api.github.com/users/nastasi-oq/events{/privacy}","received_events_url":"https://api.github.com/users/nastasi-oq/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2018-07-23T13:30:03Z","updated_at":"2018-08-09T13:02:58Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls/80/commits","review_comments_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls/80/comments","review_comment_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues/80/comments","statuses_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/statuses/9d7e3a41a8ac3fb1ee19264791f88e965a1677d0","head":{"label":"GEMScienceTools:pylint-refact","ref":"pylint-refact","sha":"9d7e3a41a8ac3fb1ee19264791f88e965a1677d0","user":{"login":"GEMScienceTools","id":939442,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkzOTQ0Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/939442?v=4","gravatar_id":"","url":"https://api.github.com/users/GEMScienceTools","html_url":"https://github.com/GEMScienceTools","followers_url":"https://api.github.com/users/GEMScienceTools/followers","following_url":"https://api.github.com/users/GEMScienceTools/following{/other_user}","gists_url":"https://api.github.com/users/GEMScienceTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GEMScienceTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GEMScienceTools/subscriptions","organizations_url":"https://api.github.com/users/GEMScienceTools/orgs","repos_url":"https://api.github.com/users/GEMScienceTools/repos","events_url":"https://api.github.com/users/GEMScienceTools/events{/privacy}","received_events_url":"https://api.github.com/users/GEMScienceTools/received_events","type":"Organization","site_admin":false},"repo":{"id":113866314,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM4NjYzMTQ=","name":"oq-mbtk","full_name":"GEMScienceTools/oq-mbtk","owner":{"login":"GEMScienceTools","id":939442,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkzOTQ0Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/939442?v=4","gravatar_id":"","url":"https://api.github.com/users/GEMScienceTools","html_url":"https://github.com/GEMScienceTools","followers_url":"https://api.github.com/users/GEMScienceTools/followers","following_url":"https://api.github.com/users/GEMScienceTools/following{/other_user}","gists_url":"https://api.github.com/users/GEMScienceTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GEMScienceTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GEMScienceTools/subscriptions","organizations_url":"https://api.github.com/users/GEMScienceTools/orgs","repos_url":"https://api.github.com/users/GEMScienceTools/repos","events_url":"https://api.github.com/users/GEMScienceTools/events{/privacy}","received_events_url":"https://api.github.com/users/GEMScienceTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GEMScienceTools/oq-mbtk","description":"OpenQuake Model Building Toolkit","fork":false,"url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk","forks_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/forks","keys_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/teams","hooks_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/hooks","issue_events_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues/events{/number}","events_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/events","assignees_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/assignees{/user}","branches_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/branches{/branch}","tags_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/tags","blobs_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/refs{/sha}","trees_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/statuses/{sha}","languages_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/languages","stargazers_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/stargazers","contributors_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/contributors","subscribers_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/subscribers","subscription_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/subscription","commits_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/commits{/sha}","git_commits_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/commits{/sha}","comments_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/comments{/number}","issue_comment_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues/comments{/number}","contents_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/contents/{+path}","compare_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/merges","archive_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/downloads","issues_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues{/number}","pulls_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls{/number}","milestones_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/milestones{/number}","notifications_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/labels{/name}","releases_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/releases{/id}","deployments_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/deployments","created_at":"2017-12-11T14:06:26Z","updated_at":"2018-08-03T16:16:02Z","pushed_at":"2018-08-09T12:49:46Z","git_url":"git://github.com/GEMScienceTools/oq-mbtk.git","ssh_url":"git@github.com:GEMScienceTools/oq-mbtk.git","clone_url":"https://github.com/GEMScienceTools/oq-mbtk.git","svn_url":"https://github.com/GEMScienceTools/oq-mbtk","homepage":null,"size":13303,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"GEMScienceTools:master","ref":"master","sha":"c407f0334c9654c4dac0d4ba28b01e86601d0ad7","user":{"login":"GEMScienceTools","id":939442,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkzOTQ0Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/939442?v=4","gravatar_id":"","url":"https://api.github.com/users/GEMScienceTools","html_url":"https://github.com/GEMScienceTools","followers_url":"https://api.github.com/users/GEMScienceTools/followers","following_url":"https://api.github.com/users/GEMScienceTools/following{/other_user}","gists_url":"https://api.github.com/users/GEMScienceTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GEMScienceTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GEMScienceTools/subscriptions","organizations_url":"https://api.github.com/users/GEMScienceTools/orgs","repos_url":"https://api.github.com/users/GEMScienceTools/repos","events_url":"https://api.github.com/users/GEMScienceTools/events{/privacy}","received_events_url":"https://api.github.com/users/GEMScienceTools/received_events","type":"Organization","site_admin":false},"repo":{"id":113866314,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM4NjYzMTQ=","name":"oq-mbtk","full_name":"GEMScienceTools/oq-mbtk","owner":{"login":"GEMScienceTools","id":939442,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkzOTQ0Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/939442?v=4","gravatar_id":"","url":"https://api.github.com/users/GEMScienceTools","html_url":"https://github.com/GEMScienceTools","followers_url":"https://api.github.com/users/GEMScienceTools/followers","following_url":"https://api.github.com/users/GEMScienceTools/following{/other_user}","gists_url":"https://api.github.com/users/GEMScienceTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GEMScienceTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GEMScienceTools/subscriptions","organizations_url":"https://api.github.com/users/GEMScienceTools/orgs","repos_url":"https://api.github.com/users/GEMScienceTools/repos","events_url":"https://api.github.com/users/GEMScienceTools/events{/privacy}","received_events_url":"https://api.github.com/users/GEMScienceTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GEMScienceTools/oq-mbtk","description":"OpenQuake Model Building Toolkit","fork":false,"url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk","forks_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/forks","keys_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/teams","hooks_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/hooks","issue_events_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues/events{/number}","events_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/events","assignees_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/assignees{/user}","branches_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/branches{/branch}","tags_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/tags","blobs_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/refs{/sha}","trees_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/statuses/{sha}","languages_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/languages","stargazers_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/stargazers","contributors_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/contributors","subscribers_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/subscribers","subscription_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/subscription","commits_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/commits{/sha}","git_commits_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/git/commits{/sha}","comments_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/comments{/number}","issue_comment_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues/comments{/number}","contents_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/contents/{+path}","compare_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/merges","archive_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/downloads","issues_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues{/number}","pulls_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls{/number}","milestones_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/milestones{/number}","notifications_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/labels{/name}","releases_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/releases{/id}","deployments_url":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/deployments","created_at":"2017-12-11T14:06:26Z","updated_at":"2018-08-03T16:16:02Z","pushed_at":"2018-08-09T12:49:46Z","git_url":"git://github.com/GEMScienceTools/oq-mbtk.git","ssh_url":"git@github.com:GEMScienceTools/oq-mbtk.git","clone_url":"https://github.com/GEMScienceTools/oq-mbtk.git","svn_url":"https://github.com/GEMScienceTools/oq-mbtk","homepage":null,"size":13303,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls/80"},"html":{"href":"https://github.com/GEMScienceTools/oq-mbtk/pull/80"},"issue":{"href":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues/80"},"comments":{"href":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/GEMScienceTools/oq-mbtk/statuses/9d7e3a41a8ac3fb1ee19264791f88e965a1677d0"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":113,"deletions":106,"changed_files":27}}
{"actor":{"display_login":"nastasi-oq"}}