News for hackers. Stuff that matters.
Re:Black, the uncompromising Python code formatter, is stable by gopjop on Saturday January 29, 2022 @07:15PM (#30132091)
I'd be using black, if it wasn't enforcing double quotes. That's just a bad call.
Re:Black, the uncompromising Python code formatter, is stable by gjenks on Sunday January 30, 2022 @12:53PM (#30139348)
Try “blue” instead: https://pypi.org/project/blue/ It’s mostly black with some monkey patching for single quotes. (I’m on of the authors. Feedback welcome!)
Re:Black, the uncompromising Python code formatter, is stable by jsmeaton on Saturday January 29, 2022 @09:34PM (#30133279)
I think most people felt the same way when adopting black in the early days, I know I did. But you get over it pretty quickly. Now single quotes look so wrong to me.

I also always hated single quote docstrings even in single quote code bases.