Trailing commas are preferred since that means one doesn't have to modify the line above in order to add an item at the end.