News for hackers. Stuff that matters.
Re:Black, the uncompromising Python code formatter, is stable by crlees on Saturday January 29, 2022 @04:21PM (#30130606)
There is: -S, --skip-string-normalization Don't normalize string quotes or prefixes.
Re:Black, the uncompromising Python code formatter, is stable by hivacruz on Saturday January 29, 2022 @04:30PM (#30130704)
IIRC, the -S only avoid single quotes to get switched to double quotes. What I meant was allowing Black to switch double-quotes to single quotes automatically.