
It’s been quite a frustrating morning. It’s Tech Debt Day, and one of the automated updates for our thing was to Black, the Python formatting tool. Unfortunately, they’ve introduced a change to one aspect of its formatting, and it conflicts with another tool we have for tidying up imports, isort. The end result was that Black would want to “fix" over a hundred files, and isort would then want to change them back again. After much digging, it turned out that Black has very few configuration options, so the only viable solution is to let it do its thing

To add insult to injury, I found a GitHub discussion about this specific change in which the Black developers say that it was a case of doing it one way or the other, and none of them had any strong opinions so they just picked that one! So it’s not as if there’s any reasoned argument for the change, it’s literally the luck of the draw

Anyway, back to the fray now, as we’re due to collaborate on trying to break some new thing before releasing it…








Leave a comment: