Add clang-format and run with pre-commit in CI

Add config for microsoft style, as that was the pre-existing style closest to existing code style.

Run with pre-commit in GitLab CI but in separate job and allow failure.

Merge request reports

Loading