{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1120","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1120/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1120/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1120/events","html_url":"https://github.com/syl20bnr/spacemacs/pull/1120","id":67920694,"number":1120,"title":"Add YAPF for Python buffer formatting","user":{"login":"kennethlove","id":11908,"avatar_url":"https://avatars.githubusercontent.com/u/11908?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethlove","html_url":"https://github.com/kennethlove","followers_url":"https://api.github.com/users/kennethlove/followers","following_url":"https://api.github.com/users/kennethlove/following{/other_user}","gists_url":"https://api.github.com/users/kennethlove/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethlove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethlove/subscriptions","organizations_url":"https://api.github.com/users/kennethlove/orgs","repos_url":"https://api.github.com/users/kennethlove/repos","events_url":"https://api.github.com/users/kennethlove/events{/privacy}","received_events_url":"https://api.github.com/users/kennethlove/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/New%20Package","name":"New Package","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-12T14:19:03Z","updated_at":"2015-04-22T05:22:14Z","closed_at":"2015-04-22T05:22:14Z","pull_request":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/1120","html_url":"https://github.com/syl20bnr/spacemacs/pull/1120","diff_url":"https://github.com/syl20bnr/spacemacs/pull/1120.diff","patch_url":"https://github.com/syl20bnr/spacemacs/pull/1120.patch"},"body":"[YAPF](https://github.com/google/yapf) is a handy tool from Google for automatically reformatting code to fit Python standards and style guides.\r\n\r\nThis PR loads the plugin and adds a `SPC mcf` keybinding to format the current Python buffer."},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/95038790","html_url":"https://github.com/syl20bnr/spacemacs/pull/1120#issuecomment-95038790","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/1120","id":95038790,"user":{"login":"syl20bnr","id":1243537,"avatar_url":"https://avatars.githubusercontent.com/u/1243537?v=3","gravatar_id":"","url":"https://api.github.com/users/syl20bnr","html_url":"https://github.com/syl20bnr","followers_url":"https://api.github.com/users/syl20bnr/followers","following_url":"https://api.github.com/users/syl20bnr/following{/other_user}","gists_url":"https://api.github.com/users/syl20bnr/gists{/gist_id}","starred_url":"https://api.github.com/users/syl20bnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl20bnr/subscriptions","organizations_url":"https://api.github.com/users/syl20bnr/orgs","repos_url":"https://api.github.com/users/syl20bnr/repos","events_url":"https://api.github.com/users/syl20bnr/events{/privacy}","received_events_url":"https://api.github.com/users/syl20bnr/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T05:22:14Z","updated_at":"2015-04-22T05:22:14Z","body":"Nice PR ! :+1: \r\nI renamed the layer variable from `yapf-format-on-save` to `python-enable-yapf-format-on-save` to be more consistent with the other variables. Related commit: a4e47cfc6b46891c49c680e3886d4ce87b7a6a1e\r\n\r\nThank you !\r\nCherry-picked into `develop` branch, you can safely delete your branch."}}