News for hackers. Stuff that matters.
Re:Black – Uncompromising Python code formatter by detaro on Friday May 17, 2019 @05:44PM (#19943850)
How narrow those two choices are! The correct answer is obviously to use single-quotes for keys and key-like cases and double-quotes for values. Make formatters impossible to write! (last sentence very /s, but that style actually exists)
Re:Black – Uncompromising Python code formatter by kbd on Saturday May 18, 2019 @01:27AM (#19945835)
That actually seems to be the de-facto Python style. Even Guido said at some point that that's his convention.