{"action":"closed","number":283,"pull_request":{"url":"https://api.github.com/repos/swcarpentry/lesson-template/pulls/283","id":45617576,"html_url":"https://github.com/swcarpentry/lesson-template/pull/283","diff_url":"https://github.com/swcarpentry/lesson-template/pull/283.diff","patch_url":"https://github.com/swcarpentry/lesson-template/pull/283.patch","issue_url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/283","number":283,"state":"closed","locked":false,"title":"Automatically check for PEP8 compliance","user":{"login":"petebachant","id":4604869,"avatar_url":"https://avatars.githubusercontent.com/u/4604869?v=3","gravatar_id":"","url":"https://api.github.com/users/petebachant","html_url":"https://github.com/petebachant","followers_url":"https://api.github.com/users/petebachant/followers","following_url":"https://api.github.com/users/petebachant/following{/other_user}","gists_url":"https://api.github.com/users/petebachant/gists{/gist_id}","starred_url":"https://api.github.com/users/petebachant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebachant/subscriptions","organizations_url":"https://api.github.com/users/petebachant/orgs","repos_url":"https://api.github.com/users/petebachant/repos","events_url":"https://api.github.com/users/petebachant/events{/privacy}","received_events_url":"https://api.github.com/users/petebachant/received_events","type":"User","site_admin":false},"body":"This PR, inspired by swcarpentry/python-novice-inflammation#159, adds automated PEP8 testing for Markdown source files. The Markdown to Python conversion process can be tested with\r\n\r\n    nosetests tools/check_pep8.py\r\n\r\nThe Markdown pages in the repo can be checked with \r\n\r\n    make check_pep8\r\n\r\nThere are some options for the `check_pep8.py` script, which can be seen with\r\n\r\n    python tools/check_pep8.py -h\r\n\r\nNote that 4 PEP8 errors/warnings are ignored by default, but this can be changed via command line args. ","created_at":"2015-09-22T00:47:31Z","updated_at":"2016-07-17T00:25:58Z","closed_at":"2016-07-17T00:25:58Z","merged_at":null,"merge_commit_sha":"b164260fec81d148ffc29227f7b720a83e29c138","assignee":{"login":"rgaiacs","id":1506457,"avatar_url":"https://avatars.githubusercontent.com/u/1506457?v=3","gravatar_id":"","url":"https://api.github.com/users/rgaiacs","html_url":"https://github.com/rgaiacs","followers_url":"https://api.github.com/users/rgaiacs/followers","following_url":"https://api.github.com/users/rgaiacs/following{/other_user}","gists_url":"https://api.github.com/users/rgaiacs/gists{/gist_id}","starred_url":"https://api.github.com/users/rgaiacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgaiacs/subscriptions","organizations_url":"https://api.github.com/users/rgaiacs/orgs","repos_url":"https://api.github.com/users/rgaiacs/repos","events_url":"https://api.github.com/users/rgaiacs/events{/privacy}","received_events_url":"https://api.github.com/users/rgaiacs/received_events","type":"User","site_admin":false},"assignees":[{"login":"rgaiacs","id":1506457,"avatar_url":"https://avatars.githubusercontent.com/u/1506457?v=3","gravatar_id":"","url":"https://api.github.com/users/rgaiacs","html_url":"https://github.com/rgaiacs","followers_url":"https://api.github.com/users/rgaiacs/followers","following_url":"https://api.github.com/users/rgaiacs/following{/other_user}","gists_url":"https://api.github.com/users/rgaiacs/gists{/gist_id}","starred_url":"https://api.github.com/users/rgaiacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgaiacs/subscriptions","organizations_url":"https://api.github.com/users/rgaiacs/orgs","repos_url":"https://api.github.com/users/rgaiacs/repos","events_url":"https://api.github.com/users/rgaiacs/events{/privacy}","received_events_url":"https://api.github.com/users/rgaiacs/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/swcarpentry/lesson-template/pulls/283/commits","review_comments_url":"https://api.github.com/repos/swcarpentry/lesson-template/pulls/283/comments","review_comment_url":"https://api.github.com/repos/swcarpentry/lesson-template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/283/comments","statuses_url":"https://api.github.com/repos/swcarpentry/lesson-template/statuses/ddaa02baf844002c31b3c4206b4048bd41467388","head":{"label":"petebachant:pep8","ref":"pep8","sha":"ddaa02baf844002c31b3c4206b4048bd41467388","user":{"login":"petebachant","id":4604869,"avatar_url":"https://avatars.githubusercontent.com/u/4604869?v=3","gravatar_id":"","url":"https://api.github.com/users/petebachant","html_url":"https://github.com/petebachant","followers_url":"https://api.github.com/users/petebachant/followers","following_url":"https://api.github.com/users/petebachant/following{/other_user}","gists_url":"https://api.github.com/users/petebachant/gists{/gist_id}","starred_url":"https://api.github.com/users/petebachant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebachant/subscriptions","organizations_url":"https://api.github.com/users/petebachant/orgs","repos_url":"https://api.github.com/users/petebachant/repos","events_url":"https://api.github.com/users/petebachant/events{/privacy}","received_events_url":"https://api.github.com/users/petebachant/received_events","type":"User","site_admin":false},"repo":{"id":42901817,"name":"lesson-template","full_name":"petebachant/lesson-template","owner":{"login":"petebachant","id":4604869,"avatar_url":"https://avatars.githubusercontent.com/u/4604869?v=3","gravatar_id":"","url":"https://api.github.com/users/petebachant","html_url":"https://github.com/petebachant","followers_url":"https://api.github.com/users/petebachant/followers","following_url":"https://api.github.com/users/petebachant/following{/other_user}","gists_url":"https://api.github.com/users/petebachant/gists{/gist_id}","starred_url":"https://api.github.com/users/petebachant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebachant/subscriptions","organizations_url":"https://api.github.com/users/petebachant/orgs","repos_url":"https://api.github.com/users/petebachant/repos","events_url":"https://api.github.com/users/petebachant/events{/privacy}","received_events_url":"https://api.github.com/users/petebachant/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petebachant/lesson-template","description":"Template for remixable lessons.","fork":true,"url":"https://api.github.com/repos/petebachant/lesson-template","forks_url":"https://api.github.com/repos/petebachant/lesson-template/forks","keys_url":"https://api.github.com/repos/petebachant/lesson-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petebachant/lesson-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petebachant/lesson-template/teams","hooks_url":"https://api.github.com/repos/petebachant/lesson-template/hooks","issue_events_url":"https://api.github.com/repos/petebachant/lesson-template/issues/events{/number}","events_url":"https://api.github.com/repos/petebachant/lesson-template/events","assignees_url":"https://api.github.com/repos/petebachant/lesson-template/assignees{/user}","branches_url":"https://api.github.com/repos/petebachant/lesson-template/branches{/branch}","tags_url":"https://api.github.com/repos/petebachant/lesson-template/tags","blobs_url":"https://api.github.com/repos/petebachant/lesson-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petebachant/lesson-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petebachant/lesson-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/petebachant/lesson-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petebachant/lesson-template/statuses/{sha}","languages_url":"https://api.github.com/repos/petebachant/lesson-template/languages","stargazers_url":"https://api.github.com/repos/petebachant/lesson-template/stargazers","contributors_url":"https://api.github.com/repos/petebachant/lesson-template/contributors","subscribers_url":"https://api.github.com/repos/petebachant/lesson-template/subscribers","subscription_url":"https://api.github.com/repos/petebachant/lesson-template/subscription","commits_url":"https://api.github.com/repos/petebachant/lesson-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/petebachant/lesson-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/petebachant/lesson-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/petebachant/lesson-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/petebachant/lesson-template/contents/{+path}","compare_url":"https://api.github.com/repos/petebachant/lesson-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petebachant/lesson-template/merges","archive_url":"https://api.github.com/repos/petebachant/lesson-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petebachant/lesson-template/downloads","issues_url":"https://api.github.com/repos/petebachant/lesson-template/issues{/number}","pulls_url":"https://api.github.com/repos/petebachant/lesson-template/pulls{/number}","milestones_url":"https://api.github.com/repos/petebachant/lesson-template/milestones{/number}","notifications_url":"https://api.github.com/repos/petebachant/lesson-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petebachant/lesson-template/labels{/name}","releases_url":"https://api.github.com/repos/petebachant/lesson-template/releases{/id}","deployments_url":"https://api.github.com/repos/petebachant/lesson-template/deployments","created_at":"2015-09-22T00:43:09Z","updated_at":"2015-09-22T00:43:10Z","pushed_at":"2015-09-22T00:47:02Z","git_url":"git://github.com/petebachant/lesson-template.git","ssh_url":"git@github.com:petebachant/lesson-template.git","clone_url":"https://github.com/petebachant/lesson-template.git","svn_url":"https://github.com/petebachant/lesson-template","homepage":null,"size":902,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"swcarpentry:gh-pages","ref":"gh-pages","sha":"a7c7240a781521562660e45eb76b2f2f2ec42680","user":{"login":"swcarpentry","id":2238358,"avatar_url":"https://avatars.githubusercontent.com/u/2238358?v=3","gravatar_id":"","url":"https://api.github.com/users/swcarpentry","html_url":"https://github.com/swcarpentry","followers_url":"https://api.github.com/users/swcarpentry/followers","following_url":"https://api.github.com/users/swcarpentry/following{/other_user}","gists_url":"https://api.github.com/users/swcarpentry/gists{/gist_id}","starred_url":"https://api.github.com/users/swcarpentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swcarpentry/subscriptions","organizations_url":"https://api.github.com/users/swcarpentry/orgs","repos_url":"https://api.github.com/users/swcarpentry/repos","events_url":"https://api.github.com/users/swcarpentry/events{/privacy}","received_events_url":"https://api.github.com/users/swcarpentry/received_events","type":"Organization","site_admin":false},"repo":{"id":25656794,"name":"lesson-template","full_name":"swcarpentry/lesson-template","owner":{"login":"swcarpentry","id":2238358,"avatar_url":"https://avatars.githubusercontent.com/u/2238358?v=3","gravatar_id":"","url":"https://api.github.com/users/swcarpentry","html_url":"https://github.com/swcarpentry","followers_url":"https://api.github.com/users/swcarpentry/followers","following_url":"https://api.github.com/users/swcarpentry/following{/other_user}","gists_url":"https://api.github.com/users/swcarpentry/gists{/gist_id}","starred_url":"https://api.github.com/users/swcarpentry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swcarpentry/subscriptions","organizations_url":"https://api.github.com/users/swcarpentry/orgs","repos_url":"https://api.github.com/users/swcarpentry/repos","events_url":"https://api.github.com/users/swcarpentry/events{/privacy}","received_events_url":"https://api.github.com/users/swcarpentry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swcarpentry/lesson-template","description":"Template for remixable lessons.","fork":false,"url":"https://api.github.com/repos/swcarpentry/lesson-template","forks_url":"https://api.github.com/repos/swcarpentry/lesson-template/forks","keys_url":"https://api.github.com/repos/swcarpentry/lesson-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swcarpentry/lesson-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swcarpentry/lesson-template/teams","hooks_url":"https://api.github.com/repos/swcarpentry/lesson-template/hooks","issue_events_url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/events{/number}","events_url":"https://api.github.com/repos/swcarpentry/lesson-template/events","assignees_url":"https://api.github.com/repos/swcarpentry/lesson-template/assignees{/user}","branches_url":"https://api.github.com/repos/swcarpentry/lesson-template/branches{/branch}","tags_url":"https://api.github.com/repos/swcarpentry/lesson-template/tags","blobs_url":"https://api.github.com/repos/swcarpentry/lesson-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swcarpentry/lesson-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swcarpentry/lesson-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/swcarpentry/lesson-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swcarpentry/lesson-template/statuses/{sha}","languages_url":"https://api.github.com/repos/swcarpentry/lesson-template/languages","stargazers_url":"https://api.github.com/repos/swcarpentry/lesson-template/stargazers","contributors_url":"https://api.github.com/repos/swcarpentry/lesson-template/contributors","subscribers_url":"https://api.github.com/repos/swcarpentry/lesson-template/subscribers","subscription_url":"https://api.github.com/repos/swcarpentry/lesson-template/subscription","commits_url":"https://api.github.com/repos/swcarpentry/lesson-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/swcarpentry/lesson-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/swcarpentry/lesson-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/swcarpentry/lesson-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/swcarpentry/lesson-template/contents/{+path}","compare_url":"https://api.github.com/repos/swcarpentry/lesson-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swcarpentry/lesson-template/merges","archive_url":"https://api.github.com/repos/swcarpentry/lesson-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swcarpentry/lesson-template/downloads","issues_url":"https://api.github.com/repos/swcarpentry/lesson-template/issues{/number}","pulls_url":"https://api.github.com/repos/swcarpentry/lesson-template/pulls{/number}","milestones_url":"https://api.github.com/repos/swcarpentry/lesson-template/milestones{/number}","notifications_url":"https://api.github.com/repos/swcarpentry/lesson-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swcarpentry/lesson-template/labels{/name}","releases_url":"https://api.github.com/repos/swcarpentry/lesson-template/releases{/id}","deployments_url":"https://api.github.com/repos/swcarpentry/lesson-template/deployments","created_at":"2014-10-23T20:36:33Z","updated_at":"2016-06-03T14:21:15Z","pushed_at":"2016-06-15T11:34:18Z","git_url":"git://github.com/swcarpentry/lesson-template.git","ssh_url":"git@github.com:swcarpentry/lesson-template.git","clone_url":"https://github.com/swcarpentry/lesson-template.git","svn_url":"https://github.com/swcarpentry/lesson-template","homepage":null,"size":3128,"stargazers_count":25,"watchers_count":25,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":49,"mirror_url":null,"open_issues_count":8,"forks":49,"open_issues":8,"watchers":25,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/swcarpentry/lesson-template/pulls/283"},"html":{"href":"https://github.com/swcarpentry/lesson-template/pull/283"},"issue":{"href":"https://api.github.com/repos/swcarpentry/lesson-template/issues/283"},"comments":{"href":"https://api.github.com/repos/swcarpentry/lesson-template/issues/283/comments"},"review_comments":{"href":"https://api.github.com/repos/swcarpentry/lesson-template/pulls/283/comments"},"review_comment":{"href":"https://api.github.com/repos/swcarpentry/lesson-template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swcarpentry/lesson-template/pulls/283/commits"},"statuses":{"href":"https://api.github.com/repos/swcarpentry/lesson-template/statuses/ddaa02baf844002c31b3c4206b4048bd41467388"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":6,"review_comments":0,"commits":5,"additions":170,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"petebachant"}}