Re:Format Python Code Using YAPF
by Lutzb on Sunday February 09, 2020 @06:04AM
(#22281521)
This is the reason we switched to black for Python about a year ago. There are no options to tweak. At first I had to deal with a lot of complaining developers, but now everyone got accustomed to blacks formatting style and we moved on.
[ Parent
| on HN ]
Same. It looked weird at first, and everyone had specific complaints with it, but they were all different complaints. Now we all accept that it’s just what Python code looks like, and can stop thinking about it all.
It has questionable default of 88 characters per line, which is configurable. I wish they chose 79 characters as PEP8 suggests.