Zsolt Dollenstein
Zsolt Dollenstein
FWIW this is also a bug in upstream lib2to3. You might want to report it on http://bugs.python.org/
Nah that mypy primer test should probably do something more trivial than running our test suite. Like maybe running `black --check .`
I agree both of your examples are way more readable with single quotes, so I'm generally supportive of this change (not a shocker given my original implementation in #75 handled...
What formatting do you suggest?
I support this, @ambv what do you think?
In general, maybe we should take a moment to consider the APIs we're "setting in stone" for the first stable release in April.
Hey, thanks for taking a stab at this. I have two concerns: 1. This only solves the problem partially. prefix and postfix spaces will be stripped, but the rest of...
Wouldn't a linter be a better place for this type of transformation? Flake8 already flags this, but fails to offer an autofix - which IMO is why it's even considered...
I think that's the best solution I've seen so far, even though it would make Black produce code that's technically not PEP-8 compliant. But maybe it's the pragmatic choice.