yapf icon indicating copy to clipboard operation
yapf copied to clipboard

yapf-diff inconsistent with yapf on multiline strings with backslashes

Open marcodicro-dp opened this issue 1 year ago • 0 comments

If I run yapf over my files, yapf says all is good.

But I run yapf-diff over my PR diff, yapf-diff is generating some unexpected auto-format changes, with lots of unnecessary spaces:

File 1 image

File 2 image

Could this be a specific bug related to multiline strings that use backlashes?

Note: My PR has over a thousand files and these were the only unexpected yapf-diff changes.

marcodicro-dp avatar Mar 18 '24 22:03 marcodicro-dp