Re:Format Python Code Using YAPF
by yhoiseth on Sunday February 09, 2020 @06:58AM
(#22281689)
How, specifically, do you minimise diff noise? I can imagine a couple of ways:
- Split to as many lines as possible in order to avoid suddenly going from one line to many lines and vice versa when a line crosses a specified line length
- Split to as many lines as possible in order to avoid suddenly going from one line to many lines and vice versa when a line crosses a specified line length
- Add trailing commas wherever possible