{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/zheller/flake8-quotes/pulls/6","id":28744721,"html_url":"https://github.com/zheller/flake8-quotes/pull/6","diff_url":"https://github.com/zheller/flake8-quotes/pull/6.diff","patch_url":"https://github.com/zheller/flake8-quotes/pull/6.patch","issue_url":"https://api.github.com/repos/zheller/flake8-quotes/issues/6","number":6,"state":"open","locked":false,"title":"Use tokenizer for finding quotes.","user":{"login":"2m","id":422086,"avatar_url":"https://avatars.githubusercontent.com/u/422086?v=3","gravatar_id":"","url":"https://api.github.com/users/2m","html_url":"https://github.com/2m","followers_url":"https://api.github.com/users/2m/followers","following_url":"https://api.github.com/users/2m/following{/other_user}","gists_url":"https://api.github.com/users/2m/gists{/gist_id}","starred_url":"https://api.github.com/users/2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2m/subscriptions","organizations_url":"https://api.github.com/users/2m/orgs","repos_url":"https://api.github.com/users/2m/repos","events_url":"https://api.github.com/users/2m/events{/privacy}","received_events_url":"https://api.github.com/users/2m/received_events","type":"User","site_admin":false},"body":"I know that this revamps completely how quotes are found, but using tokenizer allows catching such violations as:\r\n\r\n* double quotes in multiline string where double quote appears not at the same line as start or the stop of the string\r\n\r\nAlso added tests.\r\n\r\nThis does not work on Python 2. If you want Python 2 support, let me know, I will add it.","created_at":"2015-02-05T17:39:41Z","updated_at":"2015-02-05T17:39:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zheller/flake8-quotes/pulls/6/commits","review_comments_url":"https://api.github.com/repos/zheller/flake8-quotes/pulls/6/comments","review_comment_url":"https://api.github.com/repos/zheller/flake8-quotes/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zheller/flake8-quotes/issues/6/comments","statuses_url":"https://api.github.com/repos/zheller/flake8-quotes/statuses/63a5edaaaa46dfb97a65dec05565f061ccb39089","head":{"label":"2m:tokenizer","ref":"tokenizer","sha":"63a5edaaaa46dfb97a65dec05565f061ccb39089","user":{"login":"2m","id":422086,"avatar_url":"https://avatars.githubusercontent.com/u/422086?v=3","gravatar_id":"","url":"https://api.github.com/users/2m","html_url":"https://github.com/2m","followers_url":"https://api.github.com/users/2m/followers","following_url":"https://api.github.com/users/2m/following{/other_user}","gists_url":"https://api.github.com/users/2m/gists{/gist_id}","starred_url":"https://api.github.com/users/2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2m/subscriptions","organizations_url":"https://api.github.com/users/2m/orgs","repos_url":"https://api.github.com/users/2m/repos","events_url":"https://api.github.com/users/2m/events{/privacy}","received_events_url":"https://api.github.com/users/2m/received_events","type":"User","site_admin":false},"repo":{"id":30291459,"name":"flake8-quotes","full_name":"2m/flake8-quotes","owner":{"login":"2m","id":422086,"avatar_url":"https://avatars.githubusercontent.com/u/422086?v=3","gravatar_id":"","url":"https://api.github.com/users/2m","html_url":"https://github.com/2m","followers_url":"https://api.github.com/users/2m/followers","following_url":"https://api.github.com/users/2m/following{/other_user}","gists_url":"https://api.github.com/users/2m/gists{/gist_id}","starred_url":"https://api.github.com/users/2m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2m/subscriptions","organizations_url":"https://api.github.com/users/2m/orgs","repos_url":"https://api.github.com/users/2m/repos","events_url":"https://api.github.com/users/2m/events{/privacy}","received_events_url":"https://api.github.com/users/2m/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/2m/flake8-quotes","description":"Flake8 extension for checking double quotes in python","fork":true,"url":"https://api.github.com/repos/2m/flake8-quotes","forks_url":"https://api.github.com/repos/2m/flake8-quotes/forks","keys_url":"https://api.github.com/repos/2m/flake8-quotes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2m/flake8-quotes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2m/flake8-quotes/teams","hooks_url":"https://api.github.com/repos/2m/flake8-quotes/hooks","issue_events_url":"https://api.github.com/repos/2m/flake8-quotes/issues/events{/number}","events_url":"https://api.github.com/repos/2m/flake8-quotes/events","assignees_url":"https://api.github.com/repos/2m/flake8-quotes/assignees{/user}","branches_url":"https://api.github.com/repos/2m/flake8-quotes/branches{/branch}","tags_url":"https://api.github.com/repos/2m/flake8-quotes/tags","blobs_url":"https://api.github.com/repos/2m/flake8-quotes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2m/flake8-quotes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2m/flake8-quotes/git/refs{/sha}","trees_url":"https://api.github.com/repos/2m/flake8-quotes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2m/flake8-quotes/statuses/{sha}","languages_url":"https://api.github.com/repos/2m/flake8-quotes/languages","stargazers_url":"https://api.github.com/repos/2m/flake8-quotes/stargazers","contributors_url":"https://api.github.com/repos/2m/flake8-quotes/contributors","subscribers_url":"https://api.github.com/repos/2m/flake8-quotes/subscribers","subscription_url":"https://api.github.com/repos/2m/flake8-quotes/subscription","commits_url":"https://api.github.com/repos/2m/flake8-quotes/commits{/sha}","git_commits_url":"https://api.github.com/repos/2m/flake8-quotes/git/commits{/sha}","comments_url":"https://api.github.com/repos/2m/flake8-quotes/comments{/number}","issue_comment_url":"https://api.github.com/repos/2m/flake8-quotes/issues/comments/{number}","contents_url":"https://api.github.com/repos/2m/flake8-quotes/contents/{+path}","compare_url":"https://api.github.com/repos/2m/flake8-quotes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2m/flake8-quotes/merges","archive_url":"https://api.github.com/repos/2m/flake8-quotes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2m/flake8-quotes/downloads","issues_url":"https://api.github.com/repos/2m/flake8-quotes/issues{/number}","pulls_url":"https://api.github.com/repos/2m/flake8-quotes/pulls{/number}","milestones_url":"https://api.github.com/repos/2m/flake8-quotes/milestones{/number}","notifications_url":"https://api.github.com/repos/2m/flake8-quotes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2m/flake8-quotes/labels{/name}","releases_url":"https://api.github.com/repos/2m/flake8-quotes/releases{/id}","created_at":"2015-02-04T09:32:55Z","updated_at":"2015-02-04T09:32:55Z","pushed_at":"2015-02-05T17:36:40Z","git_url":"git://github.com/2m/flake8-quotes.git","ssh_url":"git@github.com:2m/flake8-quotes.git","clone_url":"https://github.com/2m/flake8-quotes.git","svn_url":"https://github.com/2m/flake8-quotes","homepage":null,"size":196,"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":"zheller:master","ref":"master","sha":"2c433ed67c2af9c8ae97913b6c2dadf63f98e3e0","user":{"login":"zheller","id":494555,"avatar_url":"https://avatars.githubusercontent.com/u/494555?v=3","gravatar_id":"","url":"https://api.github.com/users/zheller","html_url":"https://github.com/zheller","followers_url":"https://api.github.com/users/zheller/followers","following_url":"https://api.github.com/users/zheller/following{/other_user}","gists_url":"https://api.github.com/users/zheller/gists{/gist_id}","starred_url":"https://api.github.com/users/zheller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zheller/subscriptions","organizations_url":"https://api.github.com/users/zheller/orgs","repos_url":"https://api.github.com/users/zheller/repos","events_url":"https://api.github.com/users/zheller/events{/privacy}","received_events_url":"https://api.github.com/users/zheller/received_events","type":"User","site_admin":false},"repo":{"id":17576986,"name":"flake8-quotes","full_name":"zheller/flake8-quotes","owner":{"login":"zheller","id":494555,"avatar_url":"https://avatars.githubusercontent.com/u/494555?v=3","gravatar_id":"","url":"https://api.github.com/users/zheller","html_url":"https://github.com/zheller","followers_url":"https://api.github.com/users/zheller/followers","following_url":"https://api.github.com/users/zheller/following{/other_user}","gists_url":"https://api.github.com/users/zheller/gists{/gist_id}","starred_url":"https://api.github.com/users/zheller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zheller/subscriptions","organizations_url":"https://api.github.com/users/zheller/orgs","repos_url":"https://api.github.com/users/zheller/repos","events_url":"https://api.github.com/users/zheller/events{/privacy}","received_events_url":"https://api.github.com/users/zheller/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zheller/flake8-quotes","description":"Flake8 extension for checking double quotes in python","fork":false,"url":"https://api.github.com/repos/zheller/flake8-quotes","forks_url":"https://api.github.com/repos/zheller/flake8-quotes/forks","keys_url":"https://api.github.com/repos/zheller/flake8-quotes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zheller/flake8-quotes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zheller/flake8-quotes/teams","hooks_url":"https://api.github.com/repos/zheller/flake8-quotes/hooks","issue_events_url":"https://api.github.com/repos/zheller/flake8-quotes/issues/events{/number}","events_url":"https://api.github.com/repos/zheller/flake8-quotes/events","assignees_url":"https://api.github.com/repos/zheller/flake8-quotes/assignees{/user}","branches_url":"https://api.github.com/repos/zheller/flake8-quotes/branches{/branch}","tags_url":"https://api.github.com/repos/zheller/flake8-quotes/tags","blobs_url":"https://api.github.com/repos/zheller/flake8-quotes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zheller/flake8-quotes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zheller/flake8-quotes/git/refs{/sha}","trees_url":"https://api.github.com/repos/zheller/flake8-quotes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zheller/flake8-quotes/statuses/{sha}","languages_url":"https://api.github.com/repos/zheller/flake8-quotes/languages","stargazers_url":"https://api.github.com/repos/zheller/flake8-quotes/stargazers","contributors_url":"https://api.github.com/repos/zheller/flake8-quotes/contributors","subscribers_url":"https://api.github.com/repos/zheller/flake8-quotes/subscribers","subscription_url":"https://api.github.com/repos/zheller/flake8-quotes/subscription","commits_url":"https://api.github.com/repos/zheller/flake8-quotes/commits{/sha}","git_commits_url":"https://api.github.com/repos/zheller/flake8-quotes/git/commits{/sha}","comments_url":"https://api.github.com/repos/zheller/flake8-quotes/comments{/number}","issue_comment_url":"https://api.github.com/repos/zheller/flake8-quotes/issues/comments/{number}","contents_url":"https://api.github.com/repos/zheller/flake8-quotes/contents/{+path}","compare_url":"https://api.github.com/repos/zheller/flake8-quotes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zheller/flake8-quotes/merges","archive_url":"https://api.github.com/repos/zheller/flake8-quotes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zheller/flake8-quotes/downloads","issues_url":"https://api.github.com/repos/zheller/flake8-quotes/issues{/number}","pulls_url":"https://api.github.com/repos/zheller/flake8-quotes/pulls{/number}","milestones_url":"https://api.github.com/repos/zheller/flake8-quotes/milestones{/number}","notifications_url":"https://api.github.com/repos/zheller/flake8-quotes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zheller/flake8-quotes/labels{/name}","releases_url":"https://api.github.com/repos/zheller/flake8-quotes/releases{/id}","created_at":"2014-03-10T00:05:08Z","updated_at":"2014-10-22T23:04:33Z","pushed_at":"2014-10-22T23:07:04Z","git_url":"git://github.com/zheller/flake8-quotes.git","ssh_url":"git@github.com:zheller/flake8-quotes.git","clone_url":"https://github.com/zheller/flake8-quotes.git","svn_url":"https://github.com/zheller/flake8-quotes","homepage":null,"size":196,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zheller/flake8-quotes/pulls/6"},"html":{"href":"https://github.com/zheller/flake8-quotes/pull/6"},"issue":{"href":"https://api.github.com/repos/zheller/flake8-quotes/issues/6"},"comments":{"href":"https://api.github.com/repos/zheller/flake8-quotes/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/zheller/flake8-quotes/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/zheller/flake8-quotes/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/zheller/flake8-quotes/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/zheller/flake8-quotes/statuses/63a5edaaaa46dfb97a65dec05565f061ccb39089"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":112,"deletions":39,"changed_files":11}}