{"action":"closed","issue":{"url":"https://api.github.com/repos/google/yapf/issues/16","labels_url":"https://api.github.com/repos/google/yapf/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/google/yapf/issues/16/comments","events_url":"https://api.github.com/repos/google/yapf/issues/16/events","html_url":"https://github.com/google/yapf/issues/16","id":64470001,"number":16,"title":"yapf will line break right before the closing bracket of a tuple","user":{"login":"DRMacIver","id":28623,"avatar_url":"https://avatars.githubusercontent.com/u/28623?v=3","gravatar_id":"","url":"https://api.github.com/users/DRMacIver","html_url":"https://github.com/DRMacIver","followers_url":"https://api.github.com/users/DRMacIver/followers","following_url":"https://api.github.com/users/DRMacIver/following{/other_user}","gists_url":"https://api.github.com/users/DRMacIver/gists{/gist_id}","starred_url":"https://api.github.com/users/DRMacIver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DRMacIver/subscriptions","organizations_url":"https://api.github.com/users/DRMacIver/orgs","repos_url":"https://api.github.com/users/DRMacIver/repos","events_url":"https://api.github.com/users/DRMacIver/events{/privacy}","received_events_url":"https://api.github.com/users/DRMacIver/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-26T08:36:01Z","updated_at":"2015-03-28T22:38:42Z","closed_at":"2015-03-28T22:38:42Z","body":"This is somewhat of an aesthetic preference, so obviously feel free to close this as notabugwontfix, but the following code:\r\n\r\n    def aaaaaaaaaaa(*args):\r\n        pass\r\n\r\n\r\n    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb = aaaaaaaaaaa(\r\n        (\"...\", \".\"), \"..\",\r\n        \"..............................................\"\r\n    )\r\n\r\nis reformatted as\r\n\r\n    def aaaaaaaaaaa(*args):\r\n        pass\r\n\r\n\r\n    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb = aaaaaaaaaaa((\"...\", \".\"\r\n        ), \"..\", \"..............................................\")\r\n\r\nHaving the tuple argument split over the line like that with the closing bracket on the next line looks really bad. Note that putting the closing bracket on the same line as the opening bracket would not even come close to the 80 character column limit."}}