{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/PyCQA/flake8-bugbear/pulls/40","id":182280614,"html_url":"https://github.com/PyCQA/flake8-bugbear/pull/40","diff_url":"https://github.com/PyCQA/flake8-bugbear/pull/40.diff","patch_url":"https://github.com/PyCQA/flake8-bugbear/pull/40.patch","issue_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/issues/40","number":40,"state":"closed","locked":false,"title":"Avoid adding the visitor as an __init__ parameter (Fixes #39)","user":{"login":"dopplershift","id":221526,"avatar_url":"https://avatars2.githubusercontent.com/u/221526?v=4","gravatar_id":"","url":"https://api.github.com/users/dopplershift","html_url":"https://github.com/dopplershift","followers_url":"https://api.github.com/users/dopplershift/followers","following_url":"https://api.github.com/users/dopplershift/following{/other_user}","gists_url":"https://api.github.com/users/dopplershift/gists{/gist_id}","starred_url":"https://api.github.com/users/dopplershift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dopplershift/subscriptions","organizations_url":"https://api.github.com/users/dopplershift/orgs","repos_url":"https://api.github.com/users/dopplershift/repos","events_url":"https://api.github.com/users/dopplershift/events{/privacy}","received_events_url":"https://api.github.com/users/dopplershift/received_events","type":"User","site_admin":false},"body":"Even with a default value, this produces warnings from flake8's plugin parameter validation. The plugin is never manually instantiating an instance anywhere, so the current ability to pass it in is unused.","created_at":"2018-04-17T20:11:14Z","updated_at":"2018-04-17T20:19:02Z","closed_at":"2018-04-17T20:19:02Z","merged_at":"2018-04-17T20:19:02Z","merge_commit_sha":"9278f3e50ea0dd861e30907883858bb01b9f935c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/pulls/40/commits","review_comments_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/pulls/40/comments","review_comment_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/issues/40/comments","statuses_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/statuses/32a24ac44b92394d582d73f5160589876976c553","head":{"label":"dopplershift:fix-39","ref":"fix-39","sha":"32a24ac44b92394d582d73f5160589876976c553","user":{"login":"dopplershift","id":221526,"avatar_url":"https://avatars2.githubusercontent.com/u/221526?v=4","gravatar_id":"","url":"https://api.github.com/users/dopplershift","html_url":"https://github.com/dopplershift","followers_url":"https://api.github.com/users/dopplershift/followers","following_url":"https://api.github.com/users/dopplershift/following{/other_user}","gists_url":"https://api.github.com/users/dopplershift/gists{/gist_id}","starred_url":"https://api.github.com/users/dopplershift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dopplershift/subscriptions","organizations_url":"https://api.github.com/users/dopplershift/orgs","repos_url":"https://api.github.com/users/dopplershift/repos","events_url":"https://api.github.com/users/dopplershift/events{/privacy}","received_events_url":"https://api.github.com/users/dopplershift/received_events","type":"User","site_admin":false},"repo":{"id":129958932,"name":"flake8-bugbear","full_name":"dopplershift/flake8-bugbear","owner":{"login":"dopplershift","id":221526,"avatar_url":"https://avatars2.githubusercontent.com/u/221526?v=4","gravatar_id":"","url":"https://api.github.com/users/dopplershift","html_url":"https://github.com/dopplershift","followers_url":"https://api.github.com/users/dopplershift/followers","following_url":"https://api.github.com/users/dopplershift/following{/other_user}","gists_url":"https://api.github.com/users/dopplershift/gists{/gist_id}","starred_url":"https://api.github.com/users/dopplershift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dopplershift/subscriptions","organizations_url":"https://api.github.com/users/dopplershift/orgs","repos_url":"https://api.github.com/users/dopplershift/repos","events_url":"https://api.github.com/users/dopplershift/events{/privacy}","received_events_url":"https://api.github.com/users/dopplershift/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dopplershift/flake8-bugbear","description":"A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.","fork":true,"url":"https://api.github.com/repos/dopplershift/flake8-bugbear","forks_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/forks","keys_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/teams","hooks_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/hooks","issue_events_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/issues/events{/number}","events_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/events","assignees_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/assignees{/user}","branches_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/branches{/branch}","tags_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/tags","blobs_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/git/refs{/sha}","trees_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/statuses/{sha}","languages_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/languages","stargazers_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/stargazers","contributors_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/contributors","subscribers_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/subscribers","subscription_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/subscription","commits_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/commits{/sha}","git_commits_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/git/commits{/sha}","comments_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/comments{/number}","issue_comment_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/issues/comments{/number}","contents_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/contents/{+path}","compare_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/merges","archive_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/downloads","issues_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/issues{/number}","pulls_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/pulls{/number}","milestones_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/milestones{/number}","notifications_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/labels{/name}","releases_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/releases{/id}","deployments_url":"https://api.github.com/repos/dopplershift/flake8-bugbear/deployments","created_at":"2018-04-17T20:07:31Z","updated_at":"2018-04-17T20:07:33Z","pushed_at":"2018-04-17T20:10:23Z","git_url":"git://github.com/dopplershift/flake8-bugbear.git","ssh_url":"git@github.com:dopplershift/flake8-bugbear.git","clone_url":"https://github.com/dopplershift/flake8-bugbear.git","svn_url":"https://github.com/dopplershift/flake8-bugbear","homepage":"","size":77,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PyCQA:master","ref":"master","sha":"cc8029a25ca895dc27635da01fba16da2824b218","user":{"login":"PyCQA","id":8749848,"avatar_url":"https://avatars0.githubusercontent.com/u/8749848?v=4","gravatar_id":"","url":"https://api.github.com/users/PyCQA","html_url":"https://github.com/PyCQA","followers_url":"https://api.github.com/users/PyCQA/followers","following_url":"https://api.github.com/users/PyCQA/following{/other_user}","gists_url":"https://api.github.com/users/PyCQA/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCQA/subscriptions","organizations_url":"https://api.github.com/users/PyCQA/orgs","repos_url":"https://api.github.com/users/PyCQA/repos","events_url":"https://api.github.com/users/PyCQA/events{/privacy}","received_events_url":"https://api.github.com/users/PyCQA/received_events","type":"Organization","site_admin":false},"repo":{"id":53977862,"name":"flake8-bugbear","full_name":"PyCQA/flake8-bugbear","owner":{"login":"PyCQA","id":8749848,"avatar_url":"https://avatars0.githubusercontent.com/u/8749848?v=4","gravatar_id":"","url":"https://api.github.com/users/PyCQA","html_url":"https://github.com/PyCQA","followers_url":"https://api.github.com/users/PyCQA/followers","following_url":"https://api.github.com/users/PyCQA/following{/other_user}","gists_url":"https://api.github.com/users/PyCQA/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCQA/subscriptions","organizations_url":"https://api.github.com/users/PyCQA/orgs","repos_url":"https://api.github.com/users/PyCQA/repos","events_url":"https://api.github.com/users/PyCQA/events{/privacy}","received_events_url":"https://api.github.com/users/PyCQA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PyCQA/flake8-bugbear","description":"A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.","fork":false,"url":"https://api.github.com/repos/PyCQA/flake8-bugbear","forks_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/forks","keys_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/teams","hooks_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/hooks","issue_events_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/issues/events{/number}","events_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/events","assignees_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/assignees{/user}","branches_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/branches{/branch}","tags_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/tags","blobs_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/statuses/{sha}","languages_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/languages","stargazers_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/stargazers","contributors_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/contributors","subscribers_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/subscribers","subscription_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/subscription","commits_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/contents/{+path}","compare_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/merges","archive_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/downloads","issues_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/issues{/number}","pulls_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/pulls{/number}","milestones_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/milestones{/number}","notifications_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/labels{/name}","releases_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/releases{/id}","deployments_url":"https://api.github.com/repos/PyCQA/flake8-bugbear/deployments","created_at":"2016-03-15T20:54:43Z","updated_at":"2018-04-17T08:39:47Z","pushed_at":"2018-04-17T20:19:02Z","git_url":"git://github.com/PyCQA/flake8-bugbear.git","ssh_url":"git@github.com:PyCQA/flake8-bugbear.git","clone_url":"https://github.com/PyCQA/flake8-bugbear.git","svn_url":"https://github.com/PyCQA/flake8-bugbear","homepage":"","size":77,"stargazers_count":93,"watchers_count":93,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":10,"open_issues":7,"watchers":93,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PyCQA/flake8-bugbear/pulls/40"},"html":{"href":"https://github.com/PyCQA/flake8-bugbear/pull/40"},"issue":{"href":"https://api.github.com/repos/PyCQA/flake8-bugbear/issues/40"},"comments":{"href":"https://api.github.com/repos/PyCQA/flake8-bugbear/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/PyCQA/flake8-bugbear/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/PyCQA/flake8-bugbear/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PyCQA/flake8-bugbear/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/PyCQA/flake8-bugbear/statuses/32a24ac44b92394d582d73f5160589876976c553"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ambv","id":55281,"avatar_url":"https://avatars1.githubusercontent.com/u/55281?v=4","gravatar_id":"","url":"https://api.github.com/users/ambv","html_url":"https://github.com/ambv","followers_url":"https://api.github.com/users/ambv/followers","following_url":"https://api.github.com/users/ambv/following{/other_user}","gists_url":"https://api.github.com/users/ambv/gists{/gist_id}","starred_url":"https://api.github.com/users/ambv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambv/subscriptions","organizations_url":"https://api.github.com/users/ambv/orgs","repos_url":"https://api.github.com/users/ambv/repos","events_url":"https://api.github.com/users/ambv/events{/privacy}","received_events_url":"https://api.github.com/users/ambv/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"ambv"}}