nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

Check (and fix) clang-format defaults to avoid version issue #563

Open MarionBWeinzierl opened 4 weeks ago

MarionBWeinzierl commented 4 weeks ago

When working on #556 , CI threw an error when using a newer version of clang-format. The local version used was Ubuntu clang-format version 18.1.3 (on Ubunut 24.04). I worked in the Docker containers, using Ubuntu clang-format version 14.0.0-1ubuntu1.1.

It could be a problem with some of the clang-format styles going to default, rather than being explicitly defined -- this would cause a problem if the defaults change.

It has to be checked whether this is the case, or whether there were other changes in the clang-format version which could cause this problem.