CADET-Core icon indicating copy to clipboard operation
CADET-Core copied to clipboard

Automatic code formatting using pre-commit and clang-format

Open sleweke opened this issue 1 year ago • 5 comments

Enables support for pre-commit and clang-format. Code is automatically formatted before committing.

Options for clang-format are documented here. I used this online preview for various clang-format settings. I'm still not fully satisfied, but it's a start.

I'm not sure how this PR will impact other PRs and their "mergeability".

sleweke avatar Sep 05 '23 13:09 sleweke