diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2578ada..7a1756b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -68,15 +68,12 @@ repos: files: \.(h\+\+|h|hh|hxx|hpp|cuh|c|cc|cpp|cu|c\+\+|cxx|tpp|txx)$ - - repo: local + - repo: https://github.com/pre-commit/mirrors-clang-format + rev: v14.0.6 hooks: - id: clang-format - name: clang-format - description: Format files with ClangFormat. - entry: clang-format-14 - language: system + args: ['-fallback-style=none'] files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$ - args: ['-fallback-style=none', '-i'] - repo: local hooks: - id: ament_cpplint