News for hackers. Stuff that matters.
Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso... by pfisherman on Friday January 07, 2022 @01:50PM (#29843070)
Ime, Black will add parenthesis to clearly and explicitly indicate a tuple where there is trailing comma. Figured this out when I made the trailing comma mistake and wondered why Black kept reformatting my code.
Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso... by trulyme on Friday January 07, 2022 @05:11PM (#29845537)
Black rules. I love it that I don't need to have a discussion about style with anyone when Black is used on the project.
Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso... by rockwotj on Friday January 07, 2022 @07:35PM (#29847127)
TBH I think every language should have a longer like this and teams should just apply it and never need a discussion about formatting.