Blackening redux (was: Re: Auto-formatting code with black - object now if you have a strong opinion)

Augie Fackler raf at durin42.com
Wed May 8 23:09:41 EDT 2019



> On May 8, 2019, at 23:08, Martin von Zweigbergk <martinvonz at google.com> wrote:
> 
>> Out of curiosity, is Black opinionated about single versus double quotes? AFAICT it seems to preserve whatever is there? That somewhat surprises me.
> 
> That surprises me too. I'm pretty sure an earlier version of that patch changed them all to double quotes. Augie, is that something you changed in black?

It's a CLI flag - you can skip the normalization, but eventually in the name of consistency I'd like to formatterize that too.


More information about the Mercurial-devel mailing list