Black – Uncompromising Python code formatter
Against my better judgment I'll bite.<p>I super dislike black's formatting, and I think it's really rare to actually see it in codebases.  It wraps weirdly (sometimes not at all).  I'd prefer to use yapf, but last I checked it still crashes on "f-strings".<p>Here's a small example:<p><pre><code>    basket.add({
        apple.stem
        for satchel in satchels
        for apple in satchel
    })
</code></pre>
Black formats this as:<p><pre><code>    basket.add(
        {
            apple.stem
            for satchel in satchels
            for apple in satchel
        }
    )
        
</code></pre>
I've never seen Python code like that.<p>I totally believe using a formatter is good practice.  Black is in a challenging position of coming into a community with a lot of existing code and customs, and I get that.  But I also think that's an opportunity, rather than having to guess at what is good, there's a wealth of prior art to look at.  I wish it had done this, rather than essentially codify the author's style.