<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><strong>From: </strong>Matt Harbison <span dir="ltr"><<a href="mailto:mharbison72@gmail.com">mharbison72@gmail.com</a>></span><br><strong>Date: </strong>Wed, May 8, 2019, 19:56<br><strong>To: </strong>Augie Fackler, Martin von Zweigbergk<br><strong>Cc: </strong>Mercurial-devel, Gregory Szorc<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 08 May 2019 17:13:30 -0400, Martin von Zweigbergk  <br>
<<a href="mailto:martinvonz@google.com" target="_blank" rel="noreferrer">martinvonz@google.com</a>> wrote:<br>
<br>
> *From: *Augie Fackler <<a href="mailto:raf@durin42.com" target="_blank" rel="noreferrer">raf@durin42.com</a>><br>
> *Date: *Wed, May 8, 2019 at 2:05 PM<br>
> *To: *martinvonz<br>
> *Cc: *Matt Harbison, Mercurial-devel, Gregory Szorc<br>
><br>
><br>
>><br>
>> > On May 8, 2019, at 16:53, martinvonz <<a href="mailto:martinvonz@google.com" target="_blank" rel="noreferrer">martinvonz@google.com</a>> wrote:<br>
>> ><br>
>> >>  * one-tuples will get forced down to a single line, even if they<br>
>> started on multiple lines<br>
>> ><br>
>> > I don't know what this means. One-tuples are very rare anyway, so it<br>
>> probably doesn't matter much.<br>
>><br>
>> If you write this:<br>
>><br>
>> FOO = (<br>
>>     'bar',<br>
>> )<br>
>><br>
>> black will make it be<br>
>><br>
>> FOO = ('bar',)<br>
>><br>
>> even though there's a trailing comma, because it's the one place where a<br>
>> trailing comma is required in Python. Does that make sense?<br>
>><br>
><br>
> The example makes sense, but why would we want a one-tuple on multiple<br>
> lines?<br>
<br>
I think `directsymbols` in import-checker.py is an example that I noticed  <br>
in D6342.  Maybe it can be turned into a list.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I had not seen that example, but that's the type of uses I had imagined. And I had imagined that they could just use a list, as you said.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>