{"action":"closed","issue":{"url":"https://api.github.com/repos/ambv/black/issues/90","repository_url":"https://api.github.com/repos/ambv/black","labels_url":"https://api.github.com/repos/ambv/black/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/ambv/black/issues/90/comments","events_url":"https://api.github.com/repos/ambv/black/issues/90/events","html_url":"https://github.com/ambv/black/issues/90","id":310013697,"number":90,"title":"What's up with the extra newline after return/yield/etc?","user":{"login":"njsmith","id":609896,"avatar_url":"https://avatars0.githubusercontent.com/u/609896?v=4","gravatar_id":"","url":"https://api.github.com/users/njsmith","html_url":"https://github.com/njsmith","followers_url":"https://api.github.com/users/njsmith/followers","following_url":"https://api.github.com/users/njsmith/following{/other_user}","gists_url":"https://api.github.com/users/njsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/njsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njsmith/subscriptions","organizations_url":"https://api.github.com/users/njsmith/orgs","repos_url":"https://api.github.com/users/njsmith/repos","events_url":"https://api.github.com/users/njsmith/events{/privacy}","received_events_url":"https://api.github.com/users/njsmith/received_events","type":"User","site_admin":false},"labels":[{"id":869135448,"url":"https://api.github.com/repos/ambv/black/labels/design","name":"design","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-30T08:55:18Z","updated_at":"2018-04-24T19:42:31Z","closed_at":"2018-04-24T19:42:31Z","author_association":"NONE","body":"It seems very idiosyncratic – are there any existing style guides that do this? I think of vertical whitespace as a separator, not a way of emphasizing the previous line. Why do you put the emphasis line after the control statement, instead of before it? Why do these statements in particular need extra emphasis? If they do, then wouldn't it be better to configure your syntax highlighter to wrap them in `<b><blink>...</blink></b>` or something? Should we ask Guido to rename the tokens to `RETURN` and `YIELD` to make sure no-one misses them? (Presumably during the transition period we'd have to do `from __future__ import SHOUTY_TOKENS`, but `black` could insert that for us.)\r\n\r\nOf course all style guidelines are idiosyncratic and part of the reward for spending lots of time working on a tool like `black` is to make sure that it's *your* idiosyncratic preferences that everyone ends up using, so feel free to ignore this. But I figured I'd at least open an issue so people can click the little emoji buttons before it gets closed as WONTFIX."}}
{"actor":{"display_login":"ambv"}}