{"action":"created","comment":{"url":"https://api.github.com/repos/conda/conda/pulls/comments/57797725","id":57797725,"diff_hunk":"@@ -25,7 +25,7 @@ def find_executable(executable, include_others=True):\n \n     for dir_path in dir_paths:\n         if sys.platform == 'win32':\n-            for ext in  '.exe', '.bat', '':\n+            for ext in {'.exe', '.bat', ''}:","path":"conda/cli/find_commands.py","position":5,"original_position":5,"commit_id":"9428ad0b76be55e8070e04dd577c96e7dab571e0","original_commit_id":"9428ad0b76be55e8070e04dd577c96e7dab571e0","user":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"body":"Any reason not to just keep this a tuple?\r\n\r\n    for ext in ('.exe', '.bat', ''):","created_at":"2016-03-29T20:48:32Z","updated_at":"2016-03-29T20:48:32Z","html_url":"https://github.com/conda/conda/pull/2311#discussion_r57797725","pull_request_url":"https://api.github.com/repos/conda/conda/pulls/2311","_links":{"self":{"href":"https://api.github.com/repos/conda/conda/pulls/comments/57797725"},"html":{"href":"https://github.com/conda/conda/pull/2311#discussion_r57797725"},"pull_request":{"href":"https://api.github.com/repos/conda/conda/pulls/2311"}}},"pull_request":{"url":"https://api.github.com/repos/conda/conda/pulls/2311","id":64362829,"html_url":"https://github.com/conda/conda/pull/2311","diff_url":"https://github.com/conda/conda/pull/2311.diff","patch_url":"https://github.com/conda/conda/pull/2311.patch","issue_url":"https://api.github.com/repos/conda/conda/issues/2311","number":2311,"state":"open","locked":false,"title":"Flake8 Style Fixes","user":{"login":"alanhdu","id":1914111,"avatar_url":"https://avatars.githubusercontent.com/u/1914111?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhdu","html_url":"https://github.com/alanhdu","followers_url":"https://api.github.com/users/alanhdu/followers","following_url":"https://api.github.com/users/alanhdu/following{/other_user}","gists_url":"https://api.github.com/users/alanhdu/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhdu/subscriptions","organizations_url":"https://api.github.com/users/alanhdu/orgs","repos_url":"https://api.github.com/users/alanhdu/repos","events_url":"https://api.github.com/users/alanhdu/events{/privacy}","received_events_url":"https://api.github.com/users/alanhdu/received_events","type":"User","site_admin":false},"body":"This is a bunch of style fixes, so that we can turn `flake8` unconditionally on instead of using `flake8 --exit-zero`.\r\n\r\nThis PR fixes E200-299, which are all the whitespace pep8 issues. Let me know if this is worthwhile (I know some projects don't like big-bang style clean-ups) -- if it is, I can clean up all the other flake8 issues too.","created_at":"2016-03-28T19:28:19Z","updated_at":"2016-03-29T20:48:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a29766176536a213e5bdf573ae36a720e183ffa8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/conda/conda/pulls/2311/commits","review_comments_url":"https://api.github.com/repos/conda/conda/pulls/2311/comments","review_comment_url":"https://api.github.com/repos/conda/conda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conda/conda/issues/2311/comments","statuses_url":"https://api.github.com/repos/conda/conda/statuses/9428ad0b76be55e8070e04dd577c96e7dab571e0","head":{"label":"alanhdu:master","ref":"master","sha":"9428ad0b76be55e8070e04dd577c96e7dab571e0","user":{"login":"alanhdu","id":1914111,"avatar_url":"https://avatars.githubusercontent.com/u/1914111?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhdu","html_url":"https://github.com/alanhdu","followers_url":"https://api.github.com/users/alanhdu/followers","following_url":"https://api.github.com/users/alanhdu/following{/other_user}","gists_url":"https://api.github.com/users/alanhdu/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhdu/subscriptions","organizations_url":"https://api.github.com/users/alanhdu/orgs","repos_url":"https://api.github.com/users/alanhdu/repos","events_url":"https://api.github.com/users/alanhdu/events{/privacy}","received_events_url":"https://api.github.com/users/alanhdu/received_events","type":"User","site_admin":false},"repo":{"id":53698063,"name":"conda","full_name":"alanhdu/conda","owner":{"login":"alanhdu","id":1914111,"avatar_url":"https://avatars.githubusercontent.com/u/1914111?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhdu","html_url":"https://github.com/alanhdu","followers_url":"https://api.github.com/users/alanhdu/followers","following_url":"https://api.github.com/users/alanhdu/following{/other_user}","gists_url":"https://api.github.com/users/alanhdu/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhdu/subscriptions","organizations_url":"https://api.github.com/users/alanhdu/orgs","repos_url":"https://api.github.com/users/alanhdu/repos","events_url":"https://api.github.com/users/alanhdu/events{/privacy}","received_events_url":"https://api.github.com/users/alanhdu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alanhdu/conda","description":"OS-agnostic, system-level binary package manager and ecosystem","fork":true,"url":"https://api.github.com/repos/alanhdu/conda","forks_url":"https://api.github.com/repos/alanhdu/conda/forks","keys_url":"https://api.github.com/repos/alanhdu/conda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alanhdu/conda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alanhdu/conda/teams","hooks_url":"https://api.github.com/repos/alanhdu/conda/hooks","issue_events_url":"https://api.github.com/repos/alanhdu/conda/issues/events{/number}","events_url":"https://api.github.com/repos/alanhdu/conda/events","assignees_url":"https://api.github.com/repos/alanhdu/conda/assignees{/user}","branches_url":"https://api.github.com/repos/alanhdu/conda/branches{/branch}","tags_url":"https://api.github.com/repos/alanhdu/conda/tags","blobs_url":"https://api.github.com/repos/alanhdu/conda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alanhdu/conda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alanhdu/conda/git/refs{/sha}","trees_url":"https://api.github.com/repos/alanhdu/conda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alanhdu/conda/statuses/{sha}","languages_url":"https://api.github.com/repos/alanhdu/conda/languages","stargazers_url":"https://api.github.com/repos/alanhdu/conda/stargazers","contributors_url":"https://api.github.com/repos/alanhdu/conda/contributors","subscribers_url":"https://api.github.com/repos/alanhdu/conda/subscribers","subscription_url":"https://api.github.com/repos/alanhdu/conda/subscription","commits_url":"https://api.github.com/repos/alanhdu/conda/commits{/sha}","git_commits_url":"https://api.github.com/repos/alanhdu/conda/git/commits{/sha}","comments_url":"https://api.github.com/repos/alanhdu/conda/comments{/number}","issue_comment_url":"https://api.github.com/repos/alanhdu/conda/issues/comments{/number}","contents_url":"https://api.github.com/repos/alanhdu/conda/contents/{+path}","compare_url":"https://api.github.com/repos/alanhdu/conda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alanhdu/conda/merges","archive_url":"https://api.github.com/repos/alanhdu/conda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alanhdu/conda/downloads","issues_url":"https://api.github.com/repos/alanhdu/conda/issues{/number}","pulls_url":"https://api.github.com/repos/alanhdu/conda/pulls{/number}","milestones_url":"https://api.github.com/repos/alanhdu/conda/milestones{/number}","notifications_url":"https://api.github.com/repos/alanhdu/conda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alanhdu/conda/labels{/name}","releases_url":"https://api.github.com/repos/alanhdu/conda/releases{/id}","deployments_url":"https://api.github.com/repos/alanhdu/conda/deployments","created_at":"2016-03-11T21:34:42Z","updated_at":"2016-03-11T21:34:43Z","pushed_at":"2016-03-28T18:53:49Z","git_url":"git://github.com/alanhdu/conda.git","ssh_url":"git@github.com:alanhdu/conda.git","clone_url":"https://github.com/alanhdu/conda.git","svn_url":"https://github.com/alanhdu/conda","homepage":"conda.pydata.org","size":6554,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"master"}},"base":{"label":"conda:master","ref":"master","sha":"85bc63ccf4643da4b365e0ec948f817946353d84","user":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"repo":{"id":6235174,"name":"conda","full_name":"conda/conda","owner":{"login":"conda","id":6392739,"avatar_url":"https://avatars.githubusercontent.com/u/6392739?v=3","gravatar_id":"","url":"https://api.github.com/users/conda","html_url":"https://github.com/conda","followers_url":"https://api.github.com/users/conda/followers","following_url":"https://api.github.com/users/conda/following{/other_user}","gists_url":"https://api.github.com/users/conda/gists{/gist_id}","starred_url":"https://api.github.com/users/conda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda/subscriptions","organizations_url":"https://api.github.com/users/conda/orgs","repos_url":"https://api.github.com/users/conda/repos","events_url":"https://api.github.com/users/conda/events{/privacy}","received_events_url":"https://api.github.com/users/conda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda/conda","description":"OS-agnostic, system-level binary package manager and ecosystem","fork":false,"url":"https://api.github.com/repos/conda/conda","forks_url":"https://api.github.com/repos/conda/conda/forks","keys_url":"https://api.github.com/repos/conda/conda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda/conda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda/conda/teams","hooks_url":"https://api.github.com/repos/conda/conda/hooks","issue_events_url":"https://api.github.com/repos/conda/conda/issues/events{/number}","events_url":"https://api.github.com/repos/conda/conda/events","assignees_url":"https://api.github.com/repos/conda/conda/assignees{/user}","branches_url":"https://api.github.com/repos/conda/conda/branches{/branch}","tags_url":"https://api.github.com/repos/conda/conda/tags","blobs_url":"https://api.github.com/repos/conda/conda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda/conda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda/conda/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda/conda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda/conda/statuses/{sha}","languages_url":"https://api.github.com/repos/conda/conda/languages","stargazers_url":"https://api.github.com/repos/conda/conda/stargazers","contributors_url":"https://api.github.com/repos/conda/conda/contributors","subscribers_url":"https://api.github.com/repos/conda/conda/subscribers","subscription_url":"https://api.github.com/repos/conda/conda/subscription","commits_url":"https://api.github.com/repos/conda/conda/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda/conda/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda/conda/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda/conda/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda/conda/contents/{+path}","compare_url":"https://api.github.com/repos/conda/conda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda/conda/merges","archive_url":"https://api.github.com/repos/conda/conda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda/conda/downloads","issues_url":"https://api.github.com/repos/conda/conda/issues{/number}","pulls_url":"https://api.github.com/repos/conda/conda/pulls{/number}","milestones_url":"https://api.github.com/repos/conda/conda/milestones{/number}","notifications_url":"https://api.github.com/repos/conda/conda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda/conda/labels{/name}","releases_url":"https://api.github.com/repos/conda/conda/releases{/id}","deployments_url":"https://api.github.com/repos/conda/conda/deployments","created_at":"2012-10-15T22:08:03Z","updated_at":"2016-03-29T20:06:28Z","pushed_at":"2016-03-28T23:34:25Z","git_url":"git://github.com/conda/conda.git","ssh_url":"git@github.com:conda/conda.git","clone_url":"https://github.com/conda/conda.git","svn_url":"https://github.com/conda/conda","homepage":"conda.pydata.org","size":9260,"stargazers_count":676,"watchers_count":676,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":227,"mirror_url":null,"open_issues_count":774,"forks":227,"open_issues":774,"watchers":676,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conda/conda/pulls/2311"},"html":{"href":"https://github.com/conda/conda/pull/2311"},"issue":{"href":"https://api.github.com/repos/conda/conda/issues/2311"},"comments":{"href":"https://api.github.com/repos/conda/conda/issues/2311/comments"},"review_comments":{"href":"https://api.github.com/repos/conda/conda/pulls/2311/comments"},"review_comment":{"href":"https://api.github.com/repos/conda/conda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conda/conda/pulls/2311/commits"},"statuses":{"href":"https://api.github.com/repos/conda/conda/statuses/9428ad0b76be55e8070e04dd577c96e7dab571e0"}}}}