Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd be using black, if it wasn't enforcing double quotes. That's just a bad call.


Try “blue” instead: https://pypi.org/project/blue/ It’s mostly black with some monkey patching for single quotes. (I’m on of the authors. Feedback welcome!)


I think most people felt the same way when adopting black in the early days, I know I did. But you get over it pretty quickly. Now single quotes look so wrong to me.

I also always hated single quote docstrings even in single quote code bases.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: