{"action":"created","comment":{"url":"https://api.github.com/repos/brechtm/citeproc-py/pulls/comments/47323129","id":47323129,"diff_hunk":"@@ -1,6 +1,7 @@\n \n from __future__ import (absolute_import, division, print_function,\n                         unicode_literals)\n+from citeproc.py2compat import PY2","path":"citeproc/string.py","position":4,"original_position":4,"commit_id":"f858484c66ba05798eb37a692b8da6f198f69d3c","original_commit_id":"f858484c66ba05798eb37a692b8da6f198f69d3c","user":{"login":"jayvdb","id":15092,"avatar_url":"https://avatars.githubusercontent.com/u/15092?v=3","gravatar_id":"","url":"https://api.github.com/users/jayvdb","html_url":"https://github.com/jayvdb","followers_url":"https://api.github.com/users/jayvdb/followers","following_url":"https://api.github.com/users/jayvdb/following{/other_user}","gists_url":"https://api.github.com/users/jayvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/jayvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayvdb/subscriptions","organizations_url":"https://api.github.com/users/jayvdb/orgs","repos_url":"https://api.github.com/users/jayvdb/repos","events_url":"https://api.github.com/users/jayvdb/events{/privacy}","received_events_url":"https://api.github.com/users/jayvdb/received_events","type":"User","site_admin":false},"body":"this prevents PY2 being considered as possibly undefined.","created_at":"2015-12-11T05:33:08Z","updated_at":"2015-12-11T05:33:08Z","html_url":"https://github.com/brechtm/citeproc-py/pull/39#discussion_r47323129","pull_request_url":"https://api.github.com/repos/brechtm/citeproc-py/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/brechtm/citeproc-py/pulls/comments/47323129"},"html":{"href":"https://github.com/brechtm/citeproc-py/pull/39#discussion_r47323129"},"pull_request":{"href":"https://api.github.com/repos/brechtm/citeproc-py/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/brechtm/citeproc-py/pulls/39","id":53355076,"html_url":"https://github.com/brechtm/citeproc-py/pull/39","diff_url":"https://github.com/brechtm/citeproc-py/pull/39.diff","patch_url":"https://github.com/brechtm/citeproc-py/pull/39.patch","issue_url":"https://api.github.com/repos/brechtm/citeproc-py/issues/39","number":39,"state":"open","locked":false,"title":"Flake fixes","user":{"login":"jayvdb","id":15092,"avatar_url":"https://avatars.githubusercontent.com/u/15092?v=3","gravatar_id":"","url":"https://api.github.com/users/jayvdb","html_url":"https://github.com/jayvdb","followers_url":"https://api.github.com/users/jayvdb/followers","following_url":"https://api.github.com/users/jayvdb/following{/other_user}","gists_url":"https://api.github.com/users/jayvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/jayvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayvdb/subscriptions","organizations_url":"https://api.github.com/users/jayvdb/orgs","repos_url":"https://api.github.com/users/jayvdb/repos","events_url":"https://api.github.com/users/jayvdb/events{/privacy}","received_events_url":"https://api.github.com/users/jayvdb/received_events","type":"User","site_admin":false},"body":"This PR is for discussion, at least initially.\r\n\r\nA good majority of these can (and should..) be solved a better way.  If you dont have the time, feel free to suggest how you'd prefer it solved and I'll send a separate PR.\r\n\r\nSome of these are stylist decisions which you may dislike, and I am happy to add them to the tox ignore list.  Note flake8-putty is my own beast, created for pywikibot in order to allow existing style problems to be ignored and prevent the style problem spreading.","created_at":"2015-12-11T05:27:26Z","updated_at":"2015-12-11T05:33:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc2dea9758fa4927ee0b22069550343d0a331261","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brechtm/citeproc-py/pulls/39/commits","review_comments_url":"https://api.github.com/repos/brechtm/citeproc-py/pulls/39/comments","review_comment_url":"https://api.github.com/repos/brechtm/citeproc-py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brechtm/citeproc-py/issues/39/comments","statuses_url":"https://api.github.com/repos/brechtm/citeproc-py/statuses/f858484c66ba05798eb37a692b8da6f198f69d3c","head":{"label":"jayvdb:flakes","ref":"flakes","sha":"f858484c66ba05798eb37a692b8da6f198f69d3c","user":{"login":"jayvdb","id":15092,"avatar_url":"https://avatars.githubusercontent.com/u/15092?v=3","gravatar_id":"","url":"https://api.github.com/users/jayvdb","html_url":"https://github.com/jayvdb","followers_url":"https://api.github.com/users/jayvdb/followers","following_url":"https://api.github.com/users/jayvdb/following{/other_user}","gists_url":"https://api.github.com/users/jayvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/jayvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayvdb/subscriptions","organizations_url":"https://api.github.com/users/jayvdb/orgs","repos_url":"https://api.github.com/users/jayvdb/repos","events_url":"https://api.github.com/users/jayvdb/events{/privacy}","received_events_url":"https://api.github.com/users/jayvdb/received_events","type":"User","site_admin":false},"repo":{"id":42835926,"name":"citeproc-py","full_name":"jayvdb/citeproc-py","owner":{"login":"jayvdb","id":15092,"avatar_url":"https://avatars.githubusercontent.com/u/15092?v=3","gravatar_id":"","url":"https://api.github.com/users/jayvdb","html_url":"https://github.com/jayvdb","followers_url":"https://api.github.com/users/jayvdb/followers","following_url":"https://api.github.com/users/jayvdb/following{/other_user}","gists_url":"https://api.github.com/users/jayvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/jayvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayvdb/subscriptions","organizations_url":"https://api.github.com/users/jayvdb/orgs","repos_url":"https://api.github.com/users/jayvdb/repos","events_url":"https://api.github.com/users/jayvdb/events{/privacy}","received_events_url":"https://api.github.com/users/jayvdb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jayvdb/citeproc-py","description":"Yet another Python CSL Processor","fork":true,"url":"https://api.github.com/repos/jayvdb/citeproc-py","forks_url":"https://api.github.com/repos/jayvdb/citeproc-py/forks","keys_url":"https://api.github.com/repos/jayvdb/citeproc-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jayvdb/citeproc-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jayvdb/citeproc-py/teams","hooks_url":"https://api.github.com/repos/jayvdb/citeproc-py/hooks","issue_events_url":"https://api.github.com/repos/jayvdb/citeproc-py/issues/events{/number}","events_url":"https://api.github.com/repos/jayvdb/citeproc-py/events","assignees_url":"https://api.github.com/repos/jayvdb/citeproc-py/assignees{/user}","branches_url":"https://api.github.com/repos/jayvdb/citeproc-py/branches{/branch}","tags_url":"https://api.github.com/repos/jayvdb/citeproc-py/tags","blobs_url":"https://api.github.com/repos/jayvdb/citeproc-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jayvdb/citeproc-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jayvdb/citeproc-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/jayvdb/citeproc-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jayvdb/citeproc-py/statuses/{sha}","languages_url":"https://api.github.com/repos/jayvdb/citeproc-py/languages","stargazers_url":"https://api.github.com/repos/jayvdb/citeproc-py/stargazers","contributors_url":"https://api.github.com/repos/jayvdb/citeproc-py/contributors","subscribers_url":"https://api.github.com/repos/jayvdb/citeproc-py/subscribers","subscription_url":"https://api.github.com/repos/jayvdb/citeproc-py/subscription","commits_url":"https://api.github.com/repos/jayvdb/citeproc-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/jayvdb/citeproc-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/jayvdb/citeproc-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/jayvdb/citeproc-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/jayvdb/citeproc-py/contents/{+path}","compare_url":"https://api.github.com/repos/jayvdb/citeproc-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jayvdb/citeproc-py/merges","archive_url":"https://api.github.com/repos/jayvdb/citeproc-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jayvdb/citeproc-py/downloads","issues_url":"https://api.github.com/repos/jayvdb/citeproc-py/issues{/number}","pulls_url":"https://api.github.com/repos/jayvdb/citeproc-py/pulls{/number}","milestones_url":"https://api.github.com/repos/jayvdb/citeproc-py/milestones{/number}","notifications_url":"https://api.github.com/repos/jayvdb/citeproc-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jayvdb/citeproc-py/labels{/name}","releases_url":"https://api.github.com/repos/jayvdb/citeproc-py/releases{/id}","created_at":"2015-09-21T00:51:50Z","updated_at":"2015-09-21T00:51:51Z","pushed_at":"2015-12-11T05:17:59Z","git_url":"git://github.com/jayvdb/citeproc-py.git","ssh_url":"git@github.com:jayvdb/citeproc-py.git","clone_url":"https://github.com/jayvdb/citeproc-py.git","svn_url":"https://github.com/jayvdb/citeproc-py","homepage":"https://pypi.python.org/pypi/citeproc-py/","size":426,"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":"brechtm:master","ref":"master","sha":"4e99750a5ceb26f7a10a1a2f5fb8ef727a9bc16e","user":{"login":"brechtm","id":652887,"avatar_url":"https://avatars.githubusercontent.com/u/652887?v=3","gravatar_id":"","url":"https://api.github.com/users/brechtm","html_url":"https://github.com/brechtm","followers_url":"https://api.github.com/users/brechtm/followers","following_url":"https://api.github.com/users/brechtm/following{/other_user}","gists_url":"https://api.github.com/users/brechtm/gists{/gist_id}","starred_url":"https://api.github.com/users/brechtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brechtm/subscriptions","organizations_url":"https://api.github.com/users/brechtm/orgs","repos_url":"https://api.github.com/users/brechtm/repos","events_url":"https://api.github.com/users/brechtm/events{/privacy}","received_events_url":"https://api.github.com/users/brechtm/received_events","type":"User","site_admin":false},"repo":{"id":3113374,"name":"citeproc-py","full_name":"brechtm/citeproc-py","owner":{"login":"brechtm","id":652887,"avatar_url":"https://avatars.githubusercontent.com/u/652887?v=3","gravatar_id":"","url":"https://api.github.com/users/brechtm","html_url":"https://github.com/brechtm","followers_url":"https://api.github.com/users/brechtm/followers","following_url":"https://api.github.com/users/brechtm/following{/other_user}","gists_url":"https://api.github.com/users/brechtm/gists{/gist_id}","starred_url":"https://api.github.com/users/brechtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brechtm/subscriptions","organizations_url":"https://api.github.com/users/brechtm/orgs","repos_url":"https://api.github.com/users/brechtm/repos","events_url":"https://api.github.com/users/brechtm/events{/privacy}","received_events_url":"https://api.github.com/users/brechtm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brechtm/citeproc-py","description":"Yet another Python CSL Processor","fork":false,"url":"https://api.github.com/repos/brechtm/citeproc-py","forks_url":"https://api.github.com/repos/brechtm/citeproc-py/forks","keys_url":"https://api.github.com/repos/brechtm/citeproc-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brechtm/citeproc-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brechtm/citeproc-py/teams","hooks_url":"https://api.github.com/repos/brechtm/citeproc-py/hooks","issue_events_url":"https://api.github.com/repos/brechtm/citeproc-py/issues/events{/number}","events_url":"https://api.github.com/repos/brechtm/citeproc-py/events","assignees_url":"https://api.github.com/repos/brechtm/citeproc-py/assignees{/user}","branches_url":"https://api.github.com/repos/brechtm/citeproc-py/branches{/branch}","tags_url":"https://api.github.com/repos/brechtm/citeproc-py/tags","blobs_url":"https://api.github.com/repos/brechtm/citeproc-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brechtm/citeproc-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brechtm/citeproc-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/brechtm/citeproc-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brechtm/citeproc-py/statuses/{sha}","languages_url":"https://api.github.com/repos/brechtm/citeproc-py/languages","stargazers_url":"https://api.github.com/repos/brechtm/citeproc-py/stargazers","contributors_url":"https://api.github.com/repos/brechtm/citeproc-py/contributors","subscribers_url":"https://api.github.com/repos/brechtm/citeproc-py/subscribers","subscription_url":"https://api.github.com/repos/brechtm/citeproc-py/subscription","commits_url":"https://api.github.com/repos/brechtm/citeproc-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/brechtm/citeproc-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/brechtm/citeproc-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/brechtm/citeproc-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/brechtm/citeproc-py/contents/{+path}","compare_url":"https://api.github.com/repos/brechtm/citeproc-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brechtm/citeproc-py/merges","archive_url":"https://api.github.com/repos/brechtm/citeproc-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brechtm/citeproc-py/downloads","issues_url":"https://api.github.com/repos/brechtm/citeproc-py/issues{/number}","pulls_url":"https://api.github.com/repos/brechtm/citeproc-py/pulls{/number}","milestones_url":"https://api.github.com/repos/brechtm/citeproc-py/milestones{/number}","notifications_url":"https://api.github.com/repos/brechtm/citeproc-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brechtm/citeproc-py/labels{/name}","releases_url":"https://api.github.com/repos/brechtm/citeproc-py/releases{/id}","created_at":"2012-01-05T21:20:50Z","updated_at":"2015-10-11T22:04:10Z","pushed_at":"2015-12-11T05:27:26Z","git_url":"git://github.com/brechtm/citeproc-py.git","ssh_url":"git@github.com:brechtm/citeproc-py.git","clone_url":"https://github.com/brechtm/citeproc-py.git","svn_url":"https://github.com/brechtm/citeproc-py","homepage":"https://pypi.python.org/pypi/citeproc-py/","size":825,"stargazers_count":39,"watchers_count":39,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":12,"forks":19,"open_issues":12,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brechtm/citeproc-py/pulls/39"},"html":{"href":"https://github.com/brechtm/citeproc-py/pull/39"},"issue":{"href":"https://api.github.com/repos/brechtm/citeproc-py/issues/39"},"comments":{"href":"https://api.github.com/repos/brechtm/citeproc-py/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/brechtm/citeproc-py/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/brechtm/citeproc-py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brechtm/citeproc-py/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/brechtm/citeproc-py/statuses/f858484c66ba05798eb37a692b8da6f198f69d3c"}}}}