3 ms·
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,
by Lutzb 7y ago
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.
- londt8 7y agoIt has questionable default of 88 characters per line, which is configurable. I wish they chose 79 characters as PEP8 suggests.
- zzzeek 7y agoThat is one of the few things you can set, put it in your pyproject.toml, done. Oh you don't have a pyproject.toml? Well then we have a different problem :)
- kstrauser 7y agoSame. 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.