Bill Wendling

Results 83 comments of Bill Wendling

YAPF definitely doesn't have good support for long calling chains (as you guys have noticed). Basically, YAPF doesn't identify long calling chains well. It's kind of tricky in general (there's...

In general, I'm against modifying the token stream. I did it before and it's fraught with problems. If someone wants to submit a patch, I'll consider it. But it'll have...

YAPF tends to prefer placing as many things on a single line as possible. When I test your example above, I'm not able to get that behavior (at least not...

I'm not 100% sure what @jirikuncar has in mind. (I'm sorry I missed this bug report at the time.) Is it simply to leave the `import`s alone and let `ISort`...

YAPF shouldn't be sorting import statements though, just reformatting them. Could you give an example of what YAPF's doing here?

We at YAPF refuse to add or remove tokens from the program. It just leads to bugs and headaches and, worse, could change the semantics of the program.

> > Yapf has a philosophy of not changing the source at all > > > [YAPF] takes the code and reformats it to the best formatting that conforms to...

See if 521d61770aa51cc362c679bdd08f46699d243713 helps you with the quotes issue.

It may not be 100% intentional. Most likely it's due to a variety of different heuristics playing off of each other. Formatting function calls is extremely tricky, so there's a...

Thanks, @kamahen. Unfortunately, I've had less time to put into YAPF over the years. I had hope more people would be interested in contributing to YAPF, but few have done...