Open danijar opened 11 months ago
I don't think we have a configuration option to do something like this. The current syntax isn't desirable, because it's less readable, so this should be fixed somehow. I'm a bit surprised that the brackets ({
and }
) didn't cause YAPF to indent things, but it's probably due to some other formatting decision getting in the way.
Yep, I'm also a bit surprised. Do you have an idea what's causing this issue/how it can be fixed?
@danijar think I can help.
That would be awesome!!
@rishabhRsinghvi Were you able to find out what's causing the issue here? This is a blocker for our adoption unfortunately and would be amazing to fix.
Hi, I'm trying to adopt YAPF for a larger code base and am running into a few edge cases. Is there a configuration option to achieve the following desired output? Thanks!
Actual:
Desired:
pyproject.toml