{"action":"closed","number":68,"pull_request":{"url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/pulls/68","id":64227950,"html_url":"https://github.com/Rochester-NRT/AlphaGo/pull/68","diff_url":"https://github.com/Rochester-NRT/AlphaGo/pull/68.diff","patch_url":"https://github.com/Rochester-NRT/AlphaGo/pull/68.patch","issue_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/issues/68","number":68,"state":"closed","locked":false,"title":"fix most PEP8 issues and run flake8 as part of CI","user":{"login":"jtauber","id":24426,"avatar_url":"https://avatars.githubusercontent.com/u/24426?v=3","gravatar_id":"","url":"https://api.github.com/users/jtauber","html_url":"https://github.com/jtauber","followers_url":"https://api.github.com/users/jtauber/followers","following_url":"https://api.github.com/users/jtauber/following{/other_user}","gists_url":"https://api.github.com/users/jtauber/gists{/gist_id}","starred_url":"https://api.github.com/users/jtauber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtauber/subscriptions","organizations_url":"https://api.github.com/users/jtauber/orgs","repos_url":"https://api.github.com/users/jtauber/repos","events_url":"https://api.github.com/users/jtauber/events{/privacy}","received_events_url":"https://api.github.com/users/jtauber/received_events","type":"User","site_admin":false},"body":"See #44 for earlier discussion.\r\n\r\nI've fixed all flake8 violations except: W191 (tabs), E266 (more than one # starting a comment) and E501 (lines over 80 characters).\r\n\r\nAs mentioned elsewhere, ignoring W191 doesn't help make indentation consistent, it just ignores warnings about tabs. So it cannot detect files using spaces (as that's the normal Python convention, so there's nothing wrong with it as such). There are actually some files in the repo that use spaces. I did not change these. A couple of files mixed tabs and spaces and I changed those to use tabs.\r\n\r\nI've also hooked up flake8 as part of Travis CI, ignoring Keras, Theano and Pachi.","created_at":"2016-03-26T04:00:27Z","updated_at":"2016-03-26T13:34:09Z","closed_at":"2016-03-26T13:34:09Z","merged_at":"2016-03-26T13:34:09Z","merge_commit_sha":"7b82748e3f7598a054381418f43d55f7db75f850","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/pulls/68/commits","review_comments_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/pulls/68/comments","review_comment_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/issues/68/comments","statuses_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/statuses/4743d4d1419b6250ce909d30d17b0a9d65cfcdea","head":{"label":"jtauber:flake8","ref":"flake8","sha":"4743d4d1419b6250ce909d30d17b0a9d65cfcdea","user":{"login":"jtauber","id":24426,"avatar_url":"https://avatars.githubusercontent.com/u/24426?v=3","gravatar_id":"","url":"https://api.github.com/users/jtauber","html_url":"https://github.com/jtauber","followers_url":"https://api.github.com/users/jtauber/followers","following_url":"https://api.github.com/users/jtauber/following{/other_user}","gists_url":"https://api.github.com/users/jtauber/gists{/gist_id}","starred_url":"https://api.github.com/users/jtauber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtauber/subscriptions","organizations_url":"https://api.github.com/users/jtauber/orgs","repos_url":"https://api.github.com/users/jtauber/repos","events_url":"https://api.github.com/users/jtauber/events{/privacy}","received_events_url":"https://api.github.com/users/jtauber/received_events","type":"User","site_admin":false},"repo":{"id":53900552,"name":"AlphaGo","full_name":"jtauber/AlphaGo","owner":{"login":"jtauber","id":24426,"avatar_url":"https://avatars.githubusercontent.com/u/24426?v=3","gravatar_id":"","url":"https://api.github.com/users/jtauber","html_url":"https://github.com/jtauber","followers_url":"https://api.github.com/users/jtauber/followers","following_url":"https://api.github.com/users/jtauber/following{/other_user}","gists_url":"https://api.github.com/users/jtauber/gists{/gist_id}","starred_url":"https://api.github.com/users/jtauber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtauber/subscriptions","organizations_url":"https://api.github.com/users/jtauber/orgs","repos_url":"https://api.github.com/users/jtauber/repos","events_url":"https://api.github.com/users/jtauber/events{/privacy}","received_events_url":"https://api.github.com/users/jtauber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jtauber/AlphaGo","description":"A replication of DeepMind's 2016 Nature publication, \"Mastering the game of Go with deep neural networks and tree search,\" details of which can be found on their website.","fork":true,"url":"https://api.github.com/repos/jtauber/AlphaGo","forks_url":"https://api.github.com/repos/jtauber/AlphaGo/forks","keys_url":"https://api.github.com/repos/jtauber/AlphaGo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jtauber/AlphaGo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jtauber/AlphaGo/teams","hooks_url":"https://api.github.com/repos/jtauber/AlphaGo/hooks","issue_events_url":"https://api.github.com/repos/jtauber/AlphaGo/issues/events{/number}","events_url":"https://api.github.com/repos/jtauber/AlphaGo/events","assignees_url":"https://api.github.com/repos/jtauber/AlphaGo/assignees{/user}","branches_url":"https://api.github.com/repos/jtauber/AlphaGo/branches{/branch}","tags_url":"https://api.github.com/repos/jtauber/AlphaGo/tags","blobs_url":"https://api.github.com/repos/jtauber/AlphaGo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jtauber/AlphaGo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jtauber/AlphaGo/git/refs{/sha}","trees_url":"https://api.github.com/repos/jtauber/AlphaGo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jtauber/AlphaGo/statuses/{sha}","languages_url":"https://api.github.com/repos/jtauber/AlphaGo/languages","stargazers_url":"https://api.github.com/repos/jtauber/AlphaGo/stargazers","contributors_url":"https://api.github.com/repos/jtauber/AlphaGo/contributors","subscribers_url":"https://api.github.com/repos/jtauber/AlphaGo/subscribers","subscription_url":"https://api.github.com/repos/jtauber/AlphaGo/subscription","commits_url":"https://api.github.com/repos/jtauber/AlphaGo/commits{/sha}","git_commits_url":"https://api.github.com/repos/jtauber/AlphaGo/git/commits{/sha}","comments_url":"https://api.github.com/repos/jtauber/AlphaGo/comments{/number}","issue_comment_url":"https://api.github.com/repos/jtauber/AlphaGo/issues/comments{/number}","contents_url":"https://api.github.com/repos/jtauber/AlphaGo/contents/{+path}","compare_url":"https://api.github.com/repos/jtauber/AlphaGo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jtauber/AlphaGo/merges","archive_url":"https://api.github.com/repos/jtauber/AlphaGo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jtauber/AlphaGo/downloads","issues_url":"https://api.github.com/repos/jtauber/AlphaGo/issues{/number}","pulls_url":"https://api.github.com/repos/jtauber/AlphaGo/pulls{/number}","milestones_url":"https://api.github.com/repos/jtauber/AlphaGo/milestones{/number}","notifications_url":"https://api.github.com/repos/jtauber/AlphaGo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jtauber/AlphaGo/labels{/name}","releases_url":"https://api.github.com/repos/jtauber/AlphaGo/releases{/id}","deployments_url":"https://api.github.com/repos/jtauber/AlphaGo/deployments","created_at":"2016-03-14T23:53:54Z","updated_at":"2016-03-14T23:53:55Z","pushed_at":"2016-03-26T03:53:43Z","git_url":"git://github.com/jtauber/AlphaGo.git","ssh_url":"git@github.com:jtauber/AlphaGo.git","clone_url":"https://github.com/jtauber/AlphaGo.git","svn_url":"https://github.com/jtauber/AlphaGo","homepage":"","size":3229,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"develop"}},"base":{"label":"Rochester-NRT:develop","ref":"develop","sha":"b17e805ca3a3dd7f4f191d310a1681df3b4c538a","user":{"login":"Rochester-NRT","id":17015390,"avatar_url":"https://avatars.githubusercontent.com/u/17015390?v=3","gravatar_id":"","url":"https://api.github.com/users/Rochester-NRT","html_url":"https://github.com/Rochester-NRT","followers_url":"https://api.github.com/users/Rochester-NRT/followers","following_url":"https://api.github.com/users/Rochester-NRT/following{/other_user}","gists_url":"https://api.github.com/users/Rochester-NRT/gists{/gist_id}","starred_url":"https://api.github.com/users/Rochester-NRT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rochester-NRT/subscriptions","organizations_url":"https://api.github.com/users/Rochester-NRT/orgs","repos_url":"https://api.github.com/users/Rochester-NRT/repos","events_url":"https://api.github.com/users/Rochester-NRT/events{/privacy}","received_events_url":"https://api.github.com/users/Rochester-NRT/received_events","type":"Organization","site_admin":false},"repo":{"id":50803610,"name":"AlphaGo","full_name":"Rochester-NRT/AlphaGo","owner":{"login":"Rochester-NRT","id":17015390,"avatar_url":"https://avatars.githubusercontent.com/u/17015390?v=3","gravatar_id":"","url":"https://api.github.com/users/Rochester-NRT","html_url":"https://github.com/Rochester-NRT","followers_url":"https://api.github.com/users/Rochester-NRT/followers","following_url":"https://api.github.com/users/Rochester-NRT/following{/other_user}","gists_url":"https://api.github.com/users/Rochester-NRT/gists{/gist_id}","starred_url":"https://api.github.com/users/Rochester-NRT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rochester-NRT/subscriptions","organizations_url":"https://api.github.com/users/Rochester-NRT/orgs","repos_url":"https://api.github.com/users/Rochester-NRT/repos","events_url":"https://api.github.com/users/Rochester-NRT/events{/privacy}","received_events_url":"https://api.github.com/users/Rochester-NRT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rochester-NRT/AlphaGo","description":"A replication of DeepMind's 2016 Nature publication, \"Mastering the game of Go with deep neural networks and tree search,\" details of which can be found on their website.","fork":false,"url":"https://api.github.com/repos/Rochester-NRT/AlphaGo","forks_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/forks","keys_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/teams","hooks_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/hooks","issue_events_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/issues/events{/number}","events_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/events","assignees_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/assignees{/user}","branches_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/branches{/branch}","tags_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/tags","blobs_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/statuses/{sha}","languages_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/languages","stargazers_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/stargazers","contributors_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/contributors","subscribers_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/subscribers","subscription_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/subscription","commits_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/contents/{+path}","compare_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/merges","archive_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/downloads","issues_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/issues{/number}","pulls_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/pulls{/number}","milestones_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/milestones{/number}","notifications_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/labels{/name}","releases_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/releases{/id}","deployments_url":"https://api.github.com/repos/Rochester-NRT/AlphaGo/deployments","created_at":"2016-02-01T00:40:29Z","updated_at":"2016-03-26T12:39:50Z","pushed_at":"2016-03-26T13:34:09Z","git_url":"git://github.com/Rochester-NRT/AlphaGo.git","ssh_url":"git@github.com:Rochester-NRT/AlphaGo.git","clone_url":"https://github.com/Rochester-NRT/AlphaGo.git","svn_url":"https://github.com/Rochester-NRT/AlphaGo","homepage":"","size":3344,"stargazers_count":6495,"watchers_count":6495,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1705,"mirror_url":null,"open_issues_count":14,"forks":1705,"open_issues":14,"watchers":6495,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Rochester-NRT/AlphaGo/pulls/68"},"html":{"href":"https://github.com/Rochester-NRT/AlphaGo/pull/68"},"issue":{"href":"https://api.github.com/repos/Rochester-NRT/AlphaGo/issues/68"},"comments":{"href":"https://api.github.com/repos/Rochester-NRT/AlphaGo/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/Rochester-NRT/AlphaGo/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/Rochester-NRT/AlphaGo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rochester-NRT/AlphaGo/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/Rochester-NRT/AlphaGo/statuses/4743d4d1419b6250ce909d30d17b0a9d65cfcdea"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"wrongu","id":854542,"avatar_url":"https://avatars.githubusercontent.com/u/854542?v=3","gravatar_id":"","url":"https://api.github.com/users/wrongu","html_url":"https://github.com/wrongu","followers_url":"https://api.github.com/users/wrongu/followers","following_url":"https://api.github.com/users/wrongu/following{/other_user}","gists_url":"https://api.github.com/users/wrongu/gists{/gist_id}","starred_url":"https://api.github.com/users/wrongu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrongu/subscriptions","organizations_url":"https://api.github.com/users/wrongu/orgs","repos_url":"https://api.github.com/users/wrongu/repos","events_url":"https://api.github.com/users/wrongu/events{/privacy}","received_events_url":"https://api.github.com/users/wrongu/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":28,"additions":472,"deletions":413,"changed_files":18}}