{"action":"opened","number":701,"pull_request":{"url":"https://api.github.com/repos/codespell-project/codespell/pulls/701","id":221234945,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMjM0OTQ1","html_url":"https://github.com/codespell-project/codespell/pull/701","diff_url":"https://github.com/codespell-project/codespell/pull/701.diff","patch_url":"https://github.com/codespell-project/codespell/pull/701.patch","issue_url":"https://api.github.com/repos/codespell-project/codespell/issues/701","number":701,"state":"open","locked":false,"title":"Add checks for 'bad commas' in corrections.","user":{"login":"flopp","id":272596,"node_id":"MDQ6VXNlcjI3MjU5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/272596?v=4","gravatar_id":"","url":"https://api.github.com/users/flopp","html_url":"https://github.com/flopp","followers_url":"https://api.github.com/users/flopp/followers","following_url":"https://api.github.com/users/flopp/following{/other_user}","gists_url":"https://api.github.com/users/flopp/gists{/gist_id}","starred_url":"https://api.github.com/users/flopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flopp/subscriptions","organizations_url":"https://api.github.com/users/flopp/orgs","repos_url":"https://api.github.com/users/flopp/repos","events_url":"https://api.github.com/users/flopp/events{/privacy}","received_events_url":"https://api.github.com/users/flopp/received_events","type":"User","site_admin":false},"body":"This PR adds checks for detecting 'bad commas' in correction:\r\n\r\n- a correction must not start with a comma,\r\n- a whitespace character must not be followed by a comma,\r\n- a comma must not be followed by multiple whitespace characters,\r\n- a comma must always be followed by a space (except the trailing comma)\r\n\r\nThe PR also fixes the comma error introduced by #700.","created_at":"2018-10-08T20:32:03Z","updated_at":"2018-10-08T20:32:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codespell-project/codespell/pulls/701/commits","review_comments_url":"https://api.github.com/repos/codespell-project/codespell/pulls/701/comments","review_comment_url":"https://api.github.com/repos/codespell-project/codespell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codespell-project/codespell/issues/701/comments","statuses_url":"https://api.github.com/repos/codespell-project/codespell/statuses/4385a7129366be1464c698fd901776c7581cf4c8","head":{"label":"flopp:check-comma-space","ref":"check-comma-space","sha":"4385a7129366be1464c698fd901776c7581cf4c8","user":{"login":"flopp","id":272596,"node_id":"MDQ6VXNlcjI3MjU5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/272596?v=4","gravatar_id":"","url":"https://api.github.com/users/flopp","html_url":"https://github.com/flopp","followers_url":"https://api.github.com/users/flopp/followers","following_url":"https://api.github.com/users/flopp/following{/other_user}","gists_url":"https://api.github.com/users/flopp/gists{/gist_id}","starred_url":"https://api.github.com/users/flopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flopp/subscriptions","organizations_url":"https://api.github.com/users/flopp/orgs","repos_url":"https://api.github.com/users/flopp/repos","events_url":"https://api.github.com/users/flopp/events{/privacy}","received_events_url":"https://api.github.com/users/flopp/received_events","type":"User","site_admin":false},"repo":{"id":149874232,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk4NzQyMzI=","name":"codespell","full_name":"flopp/codespell","private":false,"owner":{"login":"flopp","id":272596,"node_id":"MDQ6VXNlcjI3MjU5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/272596?v=4","gravatar_id":"","url":"https://api.github.com/users/flopp","html_url":"https://github.com/flopp","followers_url":"https://api.github.com/users/flopp/followers","following_url":"https://api.github.com/users/flopp/following{/other_user}","gists_url":"https://api.github.com/users/flopp/gists{/gist_id}","starred_url":"https://api.github.com/users/flopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flopp/subscriptions","organizations_url":"https://api.github.com/users/flopp/orgs","repos_url":"https://api.github.com/users/flopp/repos","events_url":"https://api.github.com/users/flopp/events{/privacy}","received_events_url":"https://api.github.com/users/flopp/received_events","type":"User","site_admin":false},"html_url":"https://github.com/flopp/codespell","description":"check code for common misspellings","fork":true,"url":"https://api.github.com/repos/flopp/codespell","forks_url":"https://api.github.com/repos/flopp/codespell/forks","keys_url":"https://api.github.com/repos/flopp/codespell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flopp/codespell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flopp/codespell/teams","hooks_url":"https://api.github.com/repos/flopp/codespell/hooks","issue_events_url":"https://api.github.com/repos/flopp/codespell/issues/events{/number}","events_url":"https://api.github.com/repos/flopp/codespell/events","assignees_url":"https://api.github.com/repos/flopp/codespell/assignees{/user}","branches_url":"https://api.github.com/repos/flopp/codespell/branches{/branch}","tags_url":"https://api.github.com/repos/flopp/codespell/tags","blobs_url":"https://api.github.com/repos/flopp/codespell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flopp/codespell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flopp/codespell/git/refs{/sha}","trees_url":"https://api.github.com/repos/flopp/codespell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flopp/codespell/statuses/{sha}","languages_url":"https://api.github.com/repos/flopp/codespell/languages","stargazers_url":"https://api.github.com/repos/flopp/codespell/stargazers","contributors_url":"https://api.github.com/repos/flopp/codespell/contributors","subscribers_url":"https://api.github.com/repos/flopp/codespell/subscribers","subscription_url":"https://api.github.com/repos/flopp/codespell/subscription","commits_url":"https://api.github.com/repos/flopp/codespell/commits{/sha}","git_commits_url":"https://api.github.com/repos/flopp/codespell/git/commits{/sha}","comments_url":"https://api.github.com/repos/flopp/codespell/comments{/number}","issue_comment_url":"https://api.github.com/repos/flopp/codespell/issues/comments{/number}","contents_url":"https://api.github.com/repos/flopp/codespell/contents/{+path}","compare_url":"https://api.github.com/repos/flopp/codespell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flopp/codespell/merges","archive_url":"https://api.github.com/repos/flopp/codespell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flopp/codespell/downloads","issues_url":"https://api.github.com/repos/flopp/codespell/issues{/number}","pulls_url":"https://api.github.com/repos/flopp/codespell/pulls{/number}","milestones_url":"https://api.github.com/repos/flopp/codespell/milestones{/number}","notifications_url":"https://api.github.com/repos/flopp/codespell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flopp/codespell/labels{/name}","releases_url":"https://api.github.com/repos/flopp/codespell/releases{/id}","deployments_url":"https://api.github.com/repos/flopp/codespell/deployments","created_at":"2018-09-22T12:20:12Z","updated_at":"2018-10-08T19:45:14Z","pushed_at":"2018-10-08T20:25:48Z","git_url":"git://github.com/flopp/codespell.git","ssh_url":"git@github.com:flopp/codespell.git","clone_url":"https://github.com/flopp/codespell.git","svn_url":"https://github.com/flopp/codespell","homepage":"","size":2479,"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":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codespell-project:master","ref":"master","sha":"e25c3663a9d0889d32c26282bbc35595bbaed95f","user":{"login":"codespell-project","id":39140587,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MTQwNTg3","avatar_url":"https://avatars1.githubusercontent.com/u/39140587?v=4","gravatar_id":"","url":"https://api.github.com/users/codespell-project","html_url":"https://github.com/codespell-project","followers_url":"https://api.github.com/users/codespell-project/followers","following_url":"https://api.github.com/users/codespell-project/following{/other_user}","gists_url":"https://api.github.com/users/codespell-project/gists{/gist_id}","starred_url":"https://api.github.com/users/codespell-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codespell-project/subscriptions","organizations_url":"https://api.github.com/users/codespell-project/orgs","repos_url":"https://api.github.com/users/codespell-project/repos","events_url":"https://api.github.com/users/codespell-project/events{/privacy}","received_events_url":"https://api.github.com/users/codespell-project/received_events","type":"Organization","site_admin":false},"repo":{"id":1303538,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAzNTM4","name":"codespell","full_name":"codespell-project/codespell","private":false,"owner":{"login":"codespell-project","id":39140587,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MTQwNTg3","avatar_url":"https://avatars1.githubusercontent.com/u/39140587?v=4","gravatar_id":"","url":"https://api.github.com/users/codespell-project","html_url":"https://github.com/codespell-project","followers_url":"https://api.github.com/users/codespell-project/followers","following_url":"https://api.github.com/users/codespell-project/following{/other_user}","gists_url":"https://api.github.com/users/codespell-project/gists{/gist_id}","starred_url":"https://api.github.com/users/codespell-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codespell-project/subscriptions","organizations_url":"https://api.github.com/users/codespell-project/orgs","repos_url":"https://api.github.com/users/codespell-project/repos","events_url":"https://api.github.com/users/codespell-project/events{/privacy}","received_events_url":"https://api.github.com/users/codespell-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/codespell-project/codespell","description":"check code for common misspellings","fork":false,"url":"https://api.github.com/repos/codespell-project/codespell","forks_url":"https://api.github.com/repos/codespell-project/codespell/forks","keys_url":"https://api.github.com/repos/codespell-project/codespell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codespell-project/codespell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codespell-project/codespell/teams","hooks_url":"https://api.github.com/repos/codespell-project/codespell/hooks","issue_events_url":"https://api.github.com/repos/codespell-project/codespell/issues/events{/number}","events_url":"https://api.github.com/repos/codespell-project/codespell/events","assignees_url":"https://api.github.com/repos/codespell-project/codespell/assignees{/user}","branches_url":"https://api.github.com/repos/codespell-project/codespell/branches{/branch}","tags_url":"https://api.github.com/repos/codespell-project/codespell/tags","blobs_url":"https://api.github.com/repos/codespell-project/codespell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codespell-project/codespell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codespell-project/codespell/git/refs{/sha}","trees_url":"https://api.github.com/repos/codespell-project/codespell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codespell-project/codespell/statuses/{sha}","languages_url":"https://api.github.com/repos/codespell-project/codespell/languages","stargazers_url":"https://api.github.com/repos/codespell-project/codespell/stargazers","contributors_url":"https://api.github.com/repos/codespell-project/codespell/contributors","subscribers_url":"https://api.github.com/repos/codespell-project/codespell/subscribers","subscription_url":"https://api.github.com/repos/codespell-project/codespell/subscription","commits_url":"https://api.github.com/repos/codespell-project/codespell/commits{/sha}","git_commits_url":"https://api.github.com/repos/codespell-project/codespell/git/commits{/sha}","comments_url":"https://api.github.com/repos/codespell-project/codespell/comments{/number}","issue_comment_url":"https://api.github.com/repos/codespell-project/codespell/issues/comments{/number}","contents_url":"https://api.github.com/repos/codespell-project/codespell/contents/{+path}","compare_url":"https://api.github.com/repos/codespell-project/codespell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codespell-project/codespell/merges","archive_url":"https://api.github.com/repos/codespell-project/codespell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codespell-project/codespell/downloads","issues_url":"https://api.github.com/repos/codespell-project/codespell/issues{/number}","pulls_url":"https://api.github.com/repos/codespell-project/codespell/pulls{/number}","milestones_url":"https://api.github.com/repos/codespell-project/codespell/milestones{/number}","notifications_url":"https://api.github.com/repos/codespell-project/codespell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codespell-project/codespell/labels{/name}","releases_url":"https://api.github.com/repos/codespell-project/codespell/releases{/id}","deployments_url":"https://api.github.com/repos/codespell-project/codespell/deployments","created_at":"2011-01-28T17:23:32Z","updated_at":"2018-10-08T18:44:19Z","pushed_at":"2018-10-08T18:44:31Z","git_url":"git://github.com/codespell-project/codespell.git","ssh_url":"git@github.com:codespell-project/codespell.git","clone_url":"https://github.com/codespell-project/codespell.git","svn_url":"https://github.com/codespell-project/codespell","homepage":"","size":2478,"stargazers_count":166,"watchers_count":166,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"archived":false,"open_issues_count":37,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":57,"open_issues":37,"watchers":166,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codespell-project/codespell/pulls/701"},"html":{"href":"https://github.com/codespell-project/codespell/pull/701"},"issue":{"href":"https://api.github.com/repos/codespell-project/codespell/issues/701"},"comments":{"href":"https://api.github.com/repos/codespell-project/codespell/issues/701/comments"},"review_comments":{"href":"https://api.github.com/repos/codespell-project/codespell/pulls/701/comments"},"review_comment":{"href":"https://api.github.com/repos/codespell-project/codespell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codespell-project/codespell/pulls/701/commits"},"statuses":{"href":"https://api.github.com/repos/codespell-project/codespell/statuses/4385a7129366be1464c698fd901776c7581cf4c8"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":11,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"flopp"}}