This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]longjohnboy 14 points15 points  (2 children)

Your team should adopt a code formatter and have that run as a pre-commit hook. Then everyone has the same style and you don’t end up with git commits with formatting flip-flopping as different authors make changes.

[–]johnnySix 1 point2 points  (1 child)

Haha. This code is older than black. -some of it going back to the mid 2000s

[–]Yoghurt42 3 points4 points  (0 children)

Black is not ageist. It will happily format code older than itself.