We are sick of linting. So we want to use black in our project. Unfortunately, it changes almost every other line in our project which would make us loose most of our authorship information. We use annotate
in pycharm or git blame
a lot to figure out who to talk to when looking at specific code pieces. How could this information be preserved when changing lots of files in one commit?
Edit: As this is a duplicate of this question, I'd like to focus rather on a "as good as possible" approach.
Let's assume the lint commit is created by an artificial (but known) author, hence serving as a flag. Is it then possible to create a git blame
like output which shows all authors since this key lint commit as well as any previous author of lines that were changed in that commit?
I realize this wouldn't work well for lines that were split / merged but it at least gives a faster way to limit the scope of potential persons to talk to to 1,2,3 people.