News for hackers. Stuff that matters.
Re:Black: An uncompromising Python code formatter by ambivalence on Friday May 25, 2018 @02:49PM (#17156780)
It doesn't. Use `git hyper-blame` or `git blame $REV^ -- $PATH`.

Sure, there is an additional step but we feel this shouldn't be a blocker for significant workflow improvements.

In fact, a single big "reformat all" commit is better than a bunch of incremental ones that reformat areas that you also change semantically. That is harder to filter and makes diffs harder to follow (which changes are logic and which are just style?).

Re:Black: An uncompromising Python code formatter by sciurus on Friday May 25, 2018 @03:10PM (#17156937)
I hadn't head of hyper-blame before. It's part of chromium's depot_tools.

> git hyper-blame is like git blame but it can ignore or "look through" a given set of commits, to find the real culprit.

https://commondatastorage.googleapis.com/chrome-infra-docs/f...