precice / calculix-adapter

preCICE-adapter for the CSM code CalculiX
GNU General Public License v3.0
52 stars 20 forks source link

Formatter configuration needed #69

Closed MakisH closed 2 years ago

MakisH commented 3 years ago

As the project grows in developers, we will have more and more inconsistencies in formatting, making pull requests more difficult to review (see, e.g., https://github.com/precice/calculix-adapter/pull/68). So, let's add a formatter!

Adding a .clang-format is quite easy, but it needs some time to fine-tune it to a style that is close to the original/intented.

Examples:

If needed, I can prepare something to discuss.