mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.97k stars 359 forks source link

maint: Update clang-format to v19 #3600

Closed mathbunnyru closed 1 week ago

mathbunnyru commented 2 weeks ago

Possible options (I didn't change any): https://clang.llvm.org/docs/ClangFormatStyleOptions.html

Hind-M commented 1 week ago

To have a consistent history and since the formatting commits were always explicit, I think we should actually just leave the files diff as is (not ignored) so that we know that a change was made regarding the format.

Hind-M commented 1 week ago

@klaim Any objections on the format result? (We may change the options if any).

Klaim commented 1 week ago

@Klaim Any objections on the format result? (We may change the options if any).

Looks tolerable to me. 👍🏽

To be completely clear, there are things I'm not a fan of but that I can totally live with:

Also I don't know the limitations of clang-format regarding these minor points, maybe it's just not possible to have the exact style I prefer. Probably not worth our time if everybody can live with this style.

So I think we're good to go. 👍🏽

jjerphan commented 1 week ago

I let anyone of you merge this PR.