• 0 Posts
  • 3 Comments
Joined 1 year ago
cake
Cake day: October 24th, 2023

help-circle

  • There are several reasons:

    1. As many people are working on the same codebase simultaneously, reformatting the whole thing will create many conflicts
    2. There are still some places where Black’s formatting in undesired (especially in DS/ML code where you may find data structures formatted as a matrix) and we’d want to exclude those either via configuration, or with the # fmt: off/on comment directives, but I’ll only see those when I review them in a PR. If I reformat the entire project in one commit it will be harder to spot.
    3. As Black is evolving so may the formatting, or maybe we’ll change some default configuration in the future (like string normalization) and then I’d have to reformat the whole thing again.