{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/Chakazul/Lenia/pulls/5","id":201854868,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxODU0ODY4","html_url":"https://github.com/Chakazul/Lenia/pull/5","diff_url":"https://github.com/Chakazul/Lenia/pull/5.diff","patch_url":"https://github.com/Chakazul/Lenia/pull/5.patch","issue_url":"https://api.github.com/repos/Chakazul/Lenia/issues/5","number":5,"state":"closed","locked":false,"title":"Undefined name: import scipy in Lenia.py","user":{"login":"cclauss","id":3709715,"node_id":"MDQ6VXNlcjM3MDk3MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/3709715?v=4","gravatar_id":"","url":"https://api.github.com/users/cclauss","html_url":"https://github.com/cclauss","followers_url":"https://api.github.com/users/cclauss/followers","following_url":"https://api.github.com/users/cclauss/following{/other_user}","gists_url":"https://api.github.com/users/cclauss/gists{/gist_id}","starred_url":"https://api.github.com/users/cclauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cclauss/subscriptions","organizations_url":"https://api.github.com/users/cclauss/orgs","repos_url":"https://api.github.com/users/cclauss/repos","events_url":"https://api.github.com/users/cclauss/events{/privacy}","received_events_url":"https://api.github.com/users/cclauss/received_events","type":"User","site_admin":false},"body":"__scipy__ is used twice but is never imported or defined.\r\n\r\nflake8 testing of https://github.com/Chakazul/Lenia on Python 3.6.3\r\n\r\n$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__\r\n```\r\n./Python/Lenia.py:446:7: F821 undefined name 'scipy'\r\n\t\td = scipy.spatial.distance.pdist(self.series[:, None])\r\n      ^\r\n./Python/Lenia.py:449:7: F821 undefined name 'scipy'\r\n\t\tZ = scipy.spatial.distance.squareform(d)\r\n      ^\r\n./Python/Lenia.py:1078:89: F821 undefined name 'text'\r\n\t\tself.menu.children[info[0]].entryconfig(info[1], label='{text} [{value}]'.format(text=text if text else info[2], value=value))\r\n                                                                                        ^\r\n./Python/Lenia.py:1078:97: F821 undefined name 'text'\r\n\t\tself.menu.children[info[0]].entryconfig(info[1], label='{text} [{value}]'.format(text=text if text else info[2], value=value))\r\n                                                                                                ^\r\n4     F821 undefined name 'scipy'\r\n4\r\n```\r\n\r\nThe other two issues are worth looking at as well.  There is no variable __text__ defined within that context which may raise NameError at runtime.","created_at":"2018-07-17T08:01:02Z","updated_at":"2018-07-17T10:06:24Z","closed_at":"2018-07-17T10:06:24Z","merged_at":"2018-07-17T10:06:24Z","merge_commit_sha":"3e006c09542608db9504ab8c0e462c154051c870","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":996112176,"node_id":"MDU6TGFiZWw5OTYxMTIxNzY=","url":"https://api.github.com/repos/Chakazul/Lenia/labels/Waiting%20For%20Review","name":"Waiting For Review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Chakazul/Lenia/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Chakazul/Lenia/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Chakazul/Lenia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Chakazul/Lenia/issues/5/comments","statuses_url":"https://api.github.com/repos/Chakazul/Lenia/statuses/f69eaa8cdf7a98c9161c0ef68790ead0d05154c9","head":{"label":"cclauss:patch-1","ref":"patch-1","sha":"f69eaa8cdf7a98c9161c0ef68790ead0d05154c9","user":{"login":"cclauss","id":3709715,"node_id":"MDQ6VXNlcjM3MDk3MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/3709715?v=4","gravatar_id":"","url":"https://api.github.com/users/cclauss","html_url":"https://github.com/cclauss","followers_url":"https://api.github.com/users/cclauss/followers","following_url":"https://api.github.com/users/cclauss/following{/other_user}","gists_url":"https://api.github.com/users/cclauss/gists{/gist_id}","starred_url":"https://api.github.com/users/cclauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cclauss/subscriptions","organizations_url":"https://api.github.com/users/cclauss/orgs","repos_url":"https://api.github.com/users/cclauss/repos","events_url":"https://api.github.com/users/cclauss/events{/privacy}","received_events_url":"https://api.github.com/users/cclauss/received_events","type":"User","site_admin":false},"repo":{"id":141252838,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEyNTI4Mzg=","name":"Lenia","full_name":"cclauss/Lenia","owner":{"login":"cclauss","id":3709715,"node_id":"MDQ6VXNlcjM3MDk3MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/3709715?v=4","gravatar_id":"","url":"https://api.github.com/users/cclauss","html_url":"https://github.com/cclauss","followers_url":"https://api.github.com/users/cclauss/followers","following_url":"https://api.github.com/users/cclauss/following{/other_user}","gists_url":"https://api.github.com/users/cclauss/gists{/gist_id}","starred_url":"https://api.github.com/users/cclauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cclauss/subscriptions","organizations_url":"https://api.github.com/users/cclauss/orgs","repos_url":"https://api.github.com/users/cclauss/repos","events_url":"https://api.github.com/users/cclauss/events{/privacy}","received_events_url":"https://api.github.com/users/cclauss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cclauss/Lenia","description":"Lenia - Mathematical Life Forms","fork":true,"url":"https://api.github.com/repos/cclauss/Lenia","forks_url":"https://api.github.com/repos/cclauss/Lenia/forks","keys_url":"https://api.github.com/repos/cclauss/Lenia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cclauss/Lenia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cclauss/Lenia/teams","hooks_url":"https://api.github.com/repos/cclauss/Lenia/hooks","issue_events_url":"https://api.github.com/repos/cclauss/Lenia/issues/events{/number}","events_url":"https://api.github.com/repos/cclauss/Lenia/events","assignees_url":"https://api.github.com/repos/cclauss/Lenia/assignees{/user}","branches_url":"https://api.github.com/repos/cclauss/Lenia/branches{/branch}","tags_url":"https://api.github.com/repos/cclauss/Lenia/tags","blobs_url":"https://api.github.com/repos/cclauss/Lenia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cclauss/Lenia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cclauss/Lenia/git/refs{/sha}","trees_url":"https://api.github.com/repos/cclauss/Lenia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cclauss/Lenia/statuses/{sha}","languages_url":"https://api.github.com/repos/cclauss/Lenia/languages","stargazers_url":"https://api.github.com/repos/cclauss/Lenia/stargazers","contributors_url":"https://api.github.com/repos/cclauss/Lenia/contributors","subscribers_url":"https://api.github.com/repos/cclauss/Lenia/subscribers","subscription_url":"https://api.github.com/repos/cclauss/Lenia/subscription","commits_url":"https://api.github.com/repos/cclauss/Lenia/commits{/sha}","git_commits_url":"https://api.github.com/repos/cclauss/Lenia/git/commits{/sha}","comments_url":"https://api.github.com/repos/cclauss/Lenia/comments{/number}","issue_comment_url":"https://api.github.com/repos/cclauss/Lenia/issues/comments{/number}","contents_url":"https://api.github.com/repos/cclauss/Lenia/contents/{+path}","compare_url":"https://api.github.com/repos/cclauss/Lenia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cclauss/Lenia/merges","archive_url":"https://api.github.com/repos/cclauss/Lenia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cclauss/Lenia/downloads","issues_url":"https://api.github.com/repos/cclauss/Lenia/issues{/number}","pulls_url":"https://api.github.com/repos/cclauss/Lenia/pulls{/number}","milestones_url":"https://api.github.com/repos/cclauss/Lenia/milestones{/number}","notifications_url":"https://api.github.com/repos/cclauss/Lenia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cclauss/Lenia/labels{/name}","releases_url":"https://api.github.com/repos/cclauss/Lenia/releases{/id}","deployments_url":"https://api.github.com/repos/cclauss/Lenia/deployments","created_at":"2018-07-17T07:57:23Z","updated_at":"2018-07-17T07:57:25Z","pushed_at":"2018-07-17T08:00:51Z","git_url":"git://github.com/cclauss/Lenia.git","ssh_url":"git@github.com:cclauss/Lenia.git","clone_url":"https://github.com/cclauss/Lenia.git","svn_url":"https://github.com/cclauss/Lenia","homepage":"","size":9655,"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,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Chakazul:master","ref":"master","sha":"245dbbd659f1be7d38e997b1706a4c7721394f73","user":{"login":"Chakazul","id":36795411,"node_id":"MDQ6VXNlcjM2Nzk1NDEx","avatar_url":"https://avatars3.githubusercontent.com/u/36795411?v=4","gravatar_id":"","url":"https://api.github.com/users/Chakazul","html_url":"https://github.com/Chakazul","followers_url":"https://api.github.com/users/Chakazul/followers","following_url":"https://api.github.com/users/Chakazul/following{/other_user}","gists_url":"https://api.github.com/users/Chakazul/gists{/gist_id}","starred_url":"https://api.github.com/users/Chakazul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chakazul/subscriptions","organizations_url":"https://api.github.com/users/Chakazul/orgs","repos_url":"https://api.github.com/users/Chakazul/repos","events_url":"https://api.github.com/users/Chakazul/events{/privacy}","received_events_url":"https://api.github.com/users/Chakazul/received_events","type":"User","site_admin":false},"repo":{"id":122809300,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI4MDkzMDA=","name":"Lenia","full_name":"Chakazul/Lenia","owner":{"login":"Chakazul","id":36795411,"node_id":"MDQ6VXNlcjM2Nzk1NDEx","avatar_url":"https://avatars3.githubusercontent.com/u/36795411?v=4","gravatar_id":"","url":"https://api.github.com/users/Chakazul","html_url":"https://github.com/Chakazul","followers_url":"https://api.github.com/users/Chakazul/followers","following_url":"https://api.github.com/users/Chakazul/following{/other_user}","gists_url":"https://api.github.com/users/Chakazul/gists{/gist_id}","starred_url":"https://api.github.com/users/Chakazul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chakazul/subscriptions","organizations_url":"https://api.github.com/users/Chakazul/orgs","repos_url":"https://api.github.com/users/Chakazul/repos","events_url":"https://api.github.com/users/Chakazul/events{/privacy}","received_events_url":"https://api.github.com/users/Chakazul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Chakazul/Lenia","description":"Lenia - Mathematical Life Forms","fork":false,"url":"https://api.github.com/repos/Chakazul/Lenia","forks_url":"https://api.github.com/repos/Chakazul/Lenia/forks","keys_url":"https://api.github.com/repos/Chakazul/Lenia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chakazul/Lenia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chakazul/Lenia/teams","hooks_url":"https://api.github.com/repos/Chakazul/Lenia/hooks","issue_events_url":"https://api.github.com/repos/Chakazul/Lenia/issues/events{/number}","events_url":"https://api.github.com/repos/Chakazul/Lenia/events","assignees_url":"https://api.github.com/repos/Chakazul/Lenia/assignees{/user}","branches_url":"https://api.github.com/repos/Chakazul/Lenia/branches{/branch}","tags_url":"https://api.github.com/repos/Chakazul/Lenia/tags","blobs_url":"https://api.github.com/repos/Chakazul/Lenia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chakazul/Lenia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chakazul/Lenia/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chakazul/Lenia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chakazul/Lenia/statuses/{sha}","languages_url":"https://api.github.com/repos/Chakazul/Lenia/languages","stargazers_url":"https://api.github.com/repos/Chakazul/Lenia/stargazers","contributors_url":"https://api.github.com/repos/Chakazul/Lenia/contributors","subscribers_url":"https://api.github.com/repos/Chakazul/Lenia/subscribers","subscription_url":"https://api.github.com/repos/Chakazul/Lenia/subscription","commits_url":"https://api.github.com/repos/Chakazul/Lenia/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chakazul/Lenia/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chakazul/Lenia/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chakazul/Lenia/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chakazul/Lenia/contents/{+path}","compare_url":"https://api.github.com/repos/Chakazul/Lenia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chakazul/Lenia/merges","archive_url":"https://api.github.com/repos/Chakazul/Lenia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chakazul/Lenia/downloads","issues_url":"https://api.github.com/repos/Chakazul/Lenia/issues{/number}","pulls_url":"https://api.github.com/repos/Chakazul/Lenia/pulls{/number}","milestones_url":"https://api.github.com/repos/Chakazul/Lenia/milestones{/number}","notifications_url":"https://api.github.com/repos/Chakazul/Lenia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chakazul/Lenia/labels{/name}","releases_url":"https://api.github.com/repos/Chakazul/Lenia/releases{/id}","deployments_url":"https://api.github.com/repos/Chakazul/Lenia/deployments","created_at":"2018-02-25T05:51:46Z","updated_at":"2018-07-17T09:47:48Z","pushed_at":"2018-07-17T10:06:24Z","git_url":"git://github.com/Chakazul/Lenia.git","ssh_url":"git@github.com:Chakazul/Lenia.git","clone_url":"https://github.com/Chakazul/Lenia.git","svn_url":"https://github.com/Chakazul/Lenia","homepage":"","size":9635,"stargazers_count":48,"watchers_count":48,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":2,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Chakazul/Lenia/pulls/5"},"html":{"href":"https://github.com/Chakazul/Lenia/pull/5"},"issue":{"href":"https://api.github.com/repos/Chakazul/Lenia/issues/5"},"comments":{"href":"https://api.github.com/repos/Chakazul/Lenia/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Chakazul/Lenia/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Chakazul/Lenia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Chakazul/Lenia/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Chakazul/Lenia/statuses/f69eaa8cdf7a98c9161c0ef68790ead0d05154c9"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Chakazul","id":36795411,"node_id":"MDQ6VXNlcjM2Nzk1NDEx","avatar_url":"https://avatars3.githubusercontent.com/u/36795411?v=4","gravatar_id":"","url":"https://api.github.com/users/Chakazul","html_url":"https://github.com/Chakazul","followers_url":"https://api.github.com/users/Chakazul/followers","following_url":"https://api.github.com/users/Chakazul/following{/other_user}","gists_url":"https://api.github.com/users/Chakazul/gists{/gist_id}","starred_url":"https://api.github.com/users/Chakazul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chakazul/subscriptions","organizations_url":"https://api.github.com/users/Chakazul/orgs","repos_url":"https://api.github.com/users/Chakazul/repos","events_url":"https://api.github.com/users/Chakazul/events{/privacy}","received_events_url":"https://api.github.com/users/Chakazul/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Chakazul"}}