{"action":"opened","issue":{"url":"https://api.github.com/repos/truveris/flake8-truveris/issues/3","repository_url":"https://api.github.com/repos/truveris/flake8-truveris","labels_url":"https://api.github.com/repos/truveris/flake8-truveris/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/truveris/flake8-truveris/issues/3/comments","events_url":"https://api.github.com/repos/truveris/flake8-truveris/issues/3/events","html_url":"https://github.com/truveris/flake8-truveris/issues/3","id":192334479,"number":3,"title":"Trailing commas are enforced in Python 2 after unpacking","user":{"login":"SalmonMode","id":13908130,"avatar_url":"https://avatars.githubusercontent.com/u/13908130?v=3","gravatar_id":"","url":"https://api.github.com/users/SalmonMode","html_url":"https://github.com/SalmonMode","followers_url":"https://api.github.com/users/SalmonMode/followers","following_url":"https://api.github.com/users/SalmonMode/following{/other_user}","gists_url":"https://api.github.com/users/SalmonMode/gists{/gist_id}","starred_url":"https://api.github.com/users/SalmonMode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalmonMode/subscriptions","organizations_url":"https://api.github.com/users/SalmonMode/orgs","repos_url":"https://api.github.com/users/SalmonMode/repos","events_url":"https://api.github.com/users/SalmonMode/events{/privacy}","received_events_url":"https://api.github.com/users/SalmonMode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-29T16:42:44Z","updated_at":"2016-11-29T16:42:44Z","closed_at":null,"body":"In Python 2, the following two function calls are invalid syntax:\r\n\r\n```python\r\nsome_function(\r\n    *my_arguments,\r\n)\r\n\r\nsome_function(\r\n    *my_arguments,\r\n    my_keyword_argument=\"some value\",\r\n)\r\n```\r\n\r\nBut in Python 3, they are perfectly fine and the trailing comma should be enforced.\r\n\r\nThis plugin should detect what version of Python is being used, and should know whether or not to enforce the trailing comma in these circumstances depending on what version of Python it is."}}
{"actor":{"display_login":"SalmonMode"}}