.pre-commit-config.yaml 650 B

12345678910111213141516171819202122232425
  1. repos:
  2. - repo: https://github.com/pre-commit/pre-commit-hooks
  3. rev: v1.2.3
  4. hooks:
  5. - id: trailing-whitespace
  6. exclude: "examples/"
  7. - id: check-yaml
  8. exclude: "examples/"
  9. - id: end-of-file-fixer
  10. exclude: "examples/"
  11. exclude: "docs/CNAME"
  12. - repo: https://github.com/pre-commit/mirrors-yapf
  13. rev: v0.29.0
  14. hooks:
  15. - id: yapf
  16. exclude: "examples/"
  17. - repo: https://gitlab.com/daverona/pre-commit-cpp
  18. rev: 0.6.0
  19. hooks:
  20. - id: clang-format # formatter of C/C++ code based on a style guide: LLVM, Google, Chromium, Mozilla, and WebKit available
  21. args: []