electronic-structure / SIRIUS

Domain specific library for electronic structure calculations
BSD 3-Clause "New" or "Revised" License
125 stars 40 forks source link

[format] apply clang-format to all files #920

Closed toxa81 closed 10 months ago

toxa81 commented 11 months ago

@simonpintarelli this looks good now. The plan is to squash merge it and introduce .git-blame-ignore-revs in the second PR for the squashed commit

mtaillefumier commented 11 months ago

one thing. apply-format.x should actually format the file not return the diff. it is not practical to save the diff and then apply it manually.

toxa81 commented 10 months ago

one thing. apply-format.x should actually format the file not return the diff. it is not practical to save the diff and then apply it manually.

the script is doing exactly this; you need to load clang-format 17.0.4