Add precommit configuration and run formatting
Pre-commit includes clang-format and cmake-format, in both cases the latest version at the time of creating this MR.
Pre-commit includes clang-format and cmake-format, in both cases the latest version at the time of creating this MR.