pre-commit: set clang-format to v12 and Google style

6 jobs for pr/23 in 20 seconds (queued for 2 seconds)