We introduce pre-commit hook with clang-format to enforce a unified code style across the project, reducing style discussions and speeding up cod reviews. ref: https://pre-commit.com/
6 lines
123 B
YAML
6 lines
123 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
rev: "v20.1.4"
|
|
hooks:
|
|
- id: clang-format
|