Felix Hildén
Felix Hildén
Hi and thanks for the submission! But I'll be honest, I'm not sure being able to specify a different value for string normalisation, trailing commas and such in subdirectories is...
Just to be clear, my initial gut feeling would be to say no unless we really narrow down the possible configurations. I'd be okay with `include`, `exclude` and others that...
Yeah, I guess in hindsight it would have been better to discuss further on the issue since it's so old 😅
I'd be willing to entertain us flipping the toggle in preview and eventually altogether in v23. But this is just me personally 😅 Not collapsing small collections is more irritating...
@smurfix and @jaklan, it's unlikely that we'll change our stance on trailing commas in general because of the consistency and diff reduction. And making Black consider if there was a...
Thanks for the suggestion, it's opposite to #2268, and if it was implemented it would make #3159 pretty redundant. I don't feel strongly, but to me this is more readable...
It would feel a bit off to use parens in other places and explicit concatenation in others in my opinion.
I see your point, but we do really want to minimise the effect of the code itself to our formatting choices for consistency. If there isn't a clear winner but...
Alright, turns out that in terms of a cohesive parens policy, we're not really there 😅 I'm not sure how each case was decided, but we definitely don't preserve all...
@ichard26 Oh yeah, thanks for the pointer! And here's where the call is made in the [visitor](https://github.com/psf/black/blob/main/src/black/nodes.py#L160) I think.