{"action":"created","comment":{"url":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/comments/219375563","pull_request_review_id":157535898,"id":219375563,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTM3NTU2Mw==","diff_hunk":"@@ -28,7 +29,15 @@ notifications:\n     secure: kDWVy90sDY+o3g0/ZTGX2D+PTbzhtd74Whe1AJHhcUDobTUzkch8GtY9eZxybZk4nga9lQxL6YeJ72SfBBEPaLzXcUMe0YcNaBydkQHcipKZn+Vcb8kf2FiZC6YwsUYfTvvH9MPLbkZOZvsNyd0h85z+hYMB8jHsq6Yn5gf79BA=\n     on_failure: always\n     on_success: change\n-python: 2.7.12\n+python:\n+  - 2.7\n+  - 3.6    \n+before_script:\n+  - pip install flake8\n+  # stop the build if there are Python syntax errors or undefined names\n+  - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics","path":".travis.yml","position":19,"original_position":19,"commit_id":"fe9b98142c4778698390d60e9bf62a160bacb8c6","original_commit_id":"fe9b98142c4778698390d60e9bf62a160bacb8c6","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":"Freezing the flake8 options in a separate .flake8 file would remove our flexibility to make the second flake8 run just below.","created_at":"2018-09-21T03:33:38Z","updated_at":"2018-09-21T03:33:38Z","html_url":"https://github.com/CellProfiler/CellProfiler/pull/3642#discussion_r219375563","pull_request_url":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/3642","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/comments/219375563"},"html":{"href":"https://github.com/CellProfiler/CellProfiler/pull/3642#discussion_r219375563"},"pull_request":{"href":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/3642"}},"in_reply_to_id":219374170},"pull_request":{"url":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/3642","id":215694015,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1Njk0MDE1","html_url":"https://github.com/CellProfiler/CellProfiler/pull/3642","diff_url":"https://github.com/CellProfiler/CellProfiler/pull/3642.diff","patch_url":"https://github.com/CellProfiler/CellProfiler/pull/3642.patch","issue_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/3642","number":3642,"state":"open","locked":false,"title":"Travis CI: Add flake8 to find syntax errors and undefined names","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":"Add [flake8](http://flake8.pycqa.org) tests to find Python syntax errors and undefined names.\r\n\r\n__E901,E999,F821,F822,F823__ are the \"_showstopper_\" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely \"style violations\" -- useful for readability but they do not effect runtime safety.\r\n* F821: undefined name `name`\r\n* F822: undefined name `name` in `__all__`\r\n* F823: local variable name referenced before assignment\r\n* E901: SyntaxError or IndentationError\r\n* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree","created_at":"2018-09-14T19:50:24Z","updated_at":"2018-09-21T03:33:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"984be31e00f6d7c000ecc4af271e3e577379931f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/3642/commits","review_comments_url":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/3642/comments","review_comment_url":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/3642/comments","statuses_url":"https://api.github.com/repos/CellProfiler/CellProfiler/statuses/fe9b98142c4778698390d60e9bf62a160bacb8c6","head":{"label":"cclauss:patch-1","ref":"patch-1","sha":"fe9b98142c4778698390d60e9bf62a160bacb8c6","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":136392614,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYzOTI2MTQ=","name":"CellProfiler","full_name":"cclauss/CellProfiler","private":false,"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},"html_url":"https://github.com/cclauss/CellProfiler","description":"An open-source application for biological image analysis","fork":true,"url":"https://api.github.com/repos/cclauss/CellProfiler","forks_url":"https://api.github.com/repos/cclauss/CellProfiler/forks","keys_url":"https://api.github.com/repos/cclauss/CellProfiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cclauss/CellProfiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cclauss/CellProfiler/teams","hooks_url":"https://api.github.com/repos/cclauss/CellProfiler/hooks","issue_events_url":"https://api.github.com/repos/cclauss/CellProfiler/issues/events{/number}","events_url":"https://api.github.com/repos/cclauss/CellProfiler/events","assignees_url":"https://api.github.com/repos/cclauss/CellProfiler/assignees{/user}","branches_url":"https://api.github.com/repos/cclauss/CellProfiler/branches{/branch}","tags_url":"https://api.github.com/repos/cclauss/CellProfiler/tags","blobs_url":"https://api.github.com/repos/cclauss/CellProfiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cclauss/CellProfiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cclauss/CellProfiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/cclauss/CellProfiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cclauss/CellProfiler/statuses/{sha}","languages_url":"https://api.github.com/repos/cclauss/CellProfiler/languages","stargazers_url":"https://api.github.com/repos/cclauss/CellProfiler/stargazers","contributors_url":"https://api.github.com/repos/cclauss/CellProfiler/contributors","subscribers_url":"https://api.github.com/repos/cclauss/CellProfiler/subscribers","subscription_url":"https://api.github.com/repos/cclauss/CellProfiler/subscription","commits_url":"https://api.github.com/repos/cclauss/CellProfiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/cclauss/CellProfiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/cclauss/CellProfiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/cclauss/CellProfiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/cclauss/CellProfiler/contents/{+path}","compare_url":"https://api.github.com/repos/cclauss/CellProfiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cclauss/CellProfiler/merges","archive_url":"https://api.github.com/repos/cclauss/CellProfiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cclauss/CellProfiler/downloads","issues_url":"https://api.github.com/repos/cclauss/CellProfiler/issues{/number}","pulls_url":"https://api.github.com/repos/cclauss/CellProfiler/pulls{/number}","milestones_url":"https://api.github.com/repos/cclauss/CellProfiler/milestones{/number}","notifications_url":"https://api.github.com/repos/cclauss/CellProfiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cclauss/CellProfiler/labels{/name}","releases_url":"https://api.github.com/repos/cclauss/CellProfiler/releases{/id}","deployments_url":"https://api.github.com/repos/cclauss/CellProfiler/deployments","created_at":"2018-06-06T22:26:17Z","updated_at":"2018-06-06T22:26:21Z","pushed_at":"2018-09-19T08:46:49Z","git_url":"git://github.com/cclauss/CellProfiler.git","ssh_url":"git@github.com:cclauss/CellProfiler.git","clone_url":"https://github.com/cclauss/CellProfiler.git","svn_url":"https://github.com/cclauss/CellProfiler","homepage":"http://cellprofiler.org","size":97054,"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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CellProfiler:master","ref":"master","sha":"13cf85c4e8a45fc80130102df21d9b6aca28d8cc","user":{"login":"CellProfiler","id":710590,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcxMDU5MA==","avatar_url":"https://avatars2.githubusercontent.com/u/710590?v=4","gravatar_id":"","url":"https://api.github.com/users/CellProfiler","html_url":"https://github.com/CellProfiler","followers_url":"https://api.github.com/users/CellProfiler/followers","following_url":"https://api.github.com/users/CellProfiler/following{/other_user}","gists_url":"https://api.github.com/users/CellProfiler/gists{/gist_id}","starred_url":"https://api.github.com/users/CellProfiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CellProfiler/subscriptions","organizations_url":"https://api.github.com/users/CellProfiler/orgs","repos_url":"https://api.github.com/users/CellProfiler/repos","events_url":"https://api.github.com/users/CellProfiler/events{/privacy}","received_events_url":"https://api.github.com/users/CellProfiler/received_events","type":"Organization","site_admin":false},"repo":{"id":1571820,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcxODIw","name":"CellProfiler","full_name":"CellProfiler/CellProfiler","private":false,"owner":{"login":"CellProfiler","id":710590,"node_id":"MDEyOk9yZ2FuaXphdGlvbjcxMDU5MA==","avatar_url":"https://avatars2.githubusercontent.com/u/710590?v=4","gravatar_id":"","url":"https://api.github.com/users/CellProfiler","html_url":"https://github.com/CellProfiler","followers_url":"https://api.github.com/users/CellProfiler/followers","following_url":"https://api.github.com/users/CellProfiler/following{/other_user}","gists_url":"https://api.github.com/users/CellProfiler/gists{/gist_id}","starred_url":"https://api.github.com/users/CellProfiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CellProfiler/subscriptions","organizations_url":"https://api.github.com/users/CellProfiler/orgs","repos_url":"https://api.github.com/users/CellProfiler/repos","events_url":"https://api.github.com/users/CellProfiler/events{/privacy}","received_events_url":"https://api.github.com/users/CellProfiler/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CellProfiler/CellProfiler","description":"An open-source application for biological image analysis","fork":false,"url":"https://api.github.com/repos/CellProfiler/CellProfiler","forks_url":"https://api.github.com/repos/CellProfiler/CellProfiler/forks","keys_url":"https://api.github.com/repos/CellProfiler/CellProfiler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CellProfiler/CellProfiler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CellProfiler/CellProfiler/teams","hooks_url":"https://api.github.com/repos/CellProfiler/CellProfiler/hooks","issue_events_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/events{/number}","events_url":"https://api.github.com/repos/CellProfiler/CellProfiler/events","assignees_url":"https://api.github.com/repos/CellProfiler/CellProfiler/assignees{/user}","branches_url":"https://api.github.com/repos/CellProfiler/CellProfiler/branches{/branch}","tags_url":"https://api.github.com/repos/CellProfiler/CellProfiler/tags","blobs_url":"https://api.github.com/repos/CellProfiler/CellProfiler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CellProfiler/CellProfiler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CellProfiler/CellProfiler/git/refs{/sha}","trees_url":"https://api.github.com/repos/CellProfiler/CellProfiler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CellProfiler/CellProfiler/statuses/{sha}","languages_url":"https://api.github.com/repos/CellProfiler/CellProfiler/languages","stargazers_url":"https://api.github.com/repos/CellProfiler/CellProfiler/stargazers","contributors_url":"https://api.github.com/repos/CellProfiler/CellProfiler/contributors","subscribers_url":"https://api.github.com/repos/CellProfiler/CellProfiler/subscribers","subscription_url":"https://api.github.com/repos/CellProfiler/CellProfiler/subscription","commits_url":"https://api.github.com/repos/CellProfiler/CellProfiler/commits{/sha}","git_commits_url":"https://api.github.com/repos/CellProfiler/CellProfiler/git/commits{/sha}","comments_url":"https://api.github.com/repos/CellProfiler/CellProfiler/comments{/number}","issue_comment_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/comments{/number}","contents_url":"https://api.github.com/repos/CellProfiler/CellProfiler/contents/{+path}","compare_url":"https://api.github.com/repos/CellProfiler/CellProfiler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CellProfiler/CellProfiler/merges","archive_url":"https://api.github.com/repos/CellProfiler/CellProfiler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CellProfiler/CellProfiler/downloads","issues_url":"https://api.github.com/repos/CellProfiler/CellProfiler/issues{/number}","pulls_url":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls{/number}","milestones_url":"https://api.github.com/repos/CellProfiler/CellProfiler/milestones{/number}","notifications_url":"https://api.github.com/repos/CellProfiler/CellProfiler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CellProfiler/CellProfiler/labels{/name}","releases_url":"https://api.github.com/repos/CellProfiler/CellProfiler/releases{/id}","deployments_url":"https://api.github.com/repos/CellProfiler/CellProfiler/deployments","created_at":"2011-04-05T12:10:12Z","updated_at":"2018-09-20T22:03:30Z","pushed_at":"2018-09-20T04:55:15Z","git_url":"git://github.com/CellProfiler/CellProfiler.git","ssh_url":"git@github.com:CellProfiler/CellProfiler.git","clone_url":"https://github.com/CellProfiler/CellProfiler.git","svn_url":"https://github.com/CellProfiler/CellProfiler","homepage":"http://cellprofiler.org","size":121787,"stargazers_count":291,"watchers_count":291,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":176,"mirror_url":null,"archived":false,"open_issues_count":266,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":176,"open_issues":266,"watchers":291,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/3642"},"html":{"href":"https://github.com/CellProfiler/CellProfiler/pull/3642"},"issue":{"href":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/3642"},"comments":{"href":"https://api.github.com/repos/CellProfiler/CellProfiler/issues/3642/comments"},"review_comments":{"href":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/3642/comments"},"review_comment":{"href":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CellProfiler/CellProfiler/pulls/3642/commits"},"statuses":{"href":"https://api.github.com/repos/CellProfiler/CellProfiler/statuses/fe9b98142c4778698390d60e9bf62a160bacb8c6"}},"author_association":"NONE"}}
{"actor":{"display_login":"cclauss"}}