.pre-commit-config.yaml 661 B

12345678910111213141516171819202122232425
  1. repos:
  2. - repo: https://github.com/pre-commit/pre-commit-hooks
  3. rev: v4.4.0
  4. hooks:
  5. - id: check-yaml
  6. - id: check-xml
  7. - id: end-of-file-fixer
  8. - id: trailing-whitespace
  9. - id: check-merge-conflict
  10. - id: mixed-line-ending
  11. - repo: https://github.com/pre-commit/mirrors-clang-format
  12. rev: v15.0.7
  13. hooks:
  14. - id: clang-format
  15. - repo: https://github.com/cheshirekow/cmake-format-precommit
  16. rev: v0.6.13
  17. hooks:
  18. - id: cmake-format
  19. verbose: true
  20. args:
  21. - -c cmake/cmake-format.py
  22. - id: cmake-lint
  23. verbose: true
  24. args:
  25. - -c cmake/cmake-format.py