News for hackers. Stuff that matters.
Re:Black, the uncompromising Python code formatter, is stable by faut_reflechir on Saturday January 29, 2022 @04:26PM (#30130652)
I don't love how Black doesn't let you put some clarificatory parentheses -- for instance, they get wiped from `eq_balanced = (left_hand_side == right_hand_side)` But the benefits of never wasting time on discussing inanity outweigh any specific complaints.
Re:Black, the uncompromising Python code formatter, is stable by rsfern on Saturday January 29, 2022 @04:38PM (#30130786)
You can disable formatting for specific lines or blocks with `# fmt: off`

https://black.readthedocs.io/en/stable/the_black_code_style/...