Łukasz Langa

Results 194 comments of Łukasz Langa

Ha, that makes it attractive given that Black on PyPI is mypyc-compiled whereas the one installed from source most certainly is not.

I can start `ambv/black-pre-commit` and move it over to `psf/` but it won't happen today as it's Fireworks Day in the US.

Actually, since @hauntsaninja's mirror already works, let's just move that one to psf/. I'm fine with that, too. So whenever you're ready Shantanu, make the move on GitHub. I will...

Yeah, sorry, I missed the notification and the transfer expired. Can we try again?

This is now moved to [psf/black-pre-commit-mirror](https://github.com/psf/black-pre-commit-mirror). All we need is to update docs.

This is intentional, there is no automated rule we can do that will behave better. If we always put organizing parentheses whenever there is only a single operator between two...

@felix-hilden it's confusing to cram both issues here. Let's focus here on the single-operator parentheses. @xM8WVqaG Black will prefer fewer vertical lines over more, if it can be helped. Unfortunately,...

> I would suggest (re)considering the use of a configuration option to balance the interests here. We avoid that here. > I don't follow the argument that fewer lines of...

This is not handled currently because: * lib2to3 handles f-strings like regular strings; and * users probably expect a different set of formatting rules within the braces. In particular, we...

This is a design problem. Should we enforce the same style for expressions in f-strings as we do outside of them? In particular, spaces around operators come to mind.