{"action":"created","issue":{"url":"https://api.github.com/repos/python-modernize/python-modernize/issues/147","repository_url":"https://api.github.com/repos/python-modernize/python-modernize","labels_url":"https://api.github.com/repos/python-modernize/python-modernize/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/python-modernize/python-modernize/issues/147/comments","events_url":"https://api.github.com/repos/python-modernize/python-modernize/issues/147/events","html_url":"https://github.com/python-modernize/python-modernize/pull/147","id":186417535,"number":147,"title":"Add a flag to python-moderinze to return a non-zero exit code if any fixers needed to be applied.","user":{"login":"rowillia","id":808798,"avatar_url":"https://avatars.githubusercontent.com/u/808798?v=3","gravatar_id":"","url":"https://api.github.com/users/rowillia","html_url":"https://github.com/rowillia","followers_url":"https://api.github.com/users/rowillia/followers","following_url":"https://api.github.com/users/rowillia/following{/other_user}","gists_url":"https://api.github.com/users/rowillia/gists{/gist_id}","starred_url":"https://api.github.com/users/rowillia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowillia/subscriptions","organizations_url":"https://api.github.com/users/rowillia/orgs","repos_url":"https://api.github.com/users/rowillia/repos","events_url":"https://api.github.com/users/rowillia/events{/privacy}","received_events_url":"https://api.github.com/users/rowillia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-31T22:37:24Z","updated_at":"2016-10-31T22:56:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/python-modernize/python-modernize/pulls/147","html_url":"https://github.com/python-modernize/python-modernize/pull/147","diff_url":"https://github.com/python-modernize/python-modernize/pull/147.diff","patch_url":"https://github.com/python-modernize/python-modernize/pull/147.patch"},"body":"This is very useful for us when using python-moderize in CI to ensure\nwe don't regress Python 3 compat.  Otherwise, we have to roll our own\nway using git.  For example:\n\nhttps://github.com/zulip/zulip/blob/master/tools/check-py3#L103"},"comment":{"url":"https://api.github.com/repos/python-modernize/python-modernize/issues/comments/257444595","html_url":"https://github.com/python-modernize/python-modernize/pull/147#issuecomment-257444595","issue_url":"https://api.github.com/repos/python-modernize/python-modernize/issues/147","id":257444595,"user":{"login":"brettcannon","id":54418,"avatar_url":"https://avatars.githubusercontent.com/u/54418?v=3","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T22:56:27Z","updated_at":"2016-10-31T22:56:27Z","body":"Don't have time right this second to check the code is right, but the concept works for me. As for why this isn't on by default, @bruce-lyft , it is a breaking change to the CLI API."}}
{"actor":{"display_login":"brettcannon"}}