Re:Black – Uncompromising Python code formatter
by meowface on Friday May 17, 2019 @05:41PM
(#19943830)
I've always been a double-quoter, in contrast to most Python devs I know/work with. After we standardized on black, I got some satisfaction seeing all of my coworkers bend to my will (/s).
[ Parent
| on HN ]
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)