diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05b457e25..2ec4dc750 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,3 +43,39 @@ repos: rev: 23.1.0 hooks: - id: black + - repo: https://github.com/pre-commit/pygrep-hooks + rev: v1.10.0 + hooks: + - id: python-use-type-annotations + - repo: https://github.com/asottile/add-trailing-comma + rev: v3.0.0 + hooks: + - id: add-trailing-comma + - repo: https://github.com/PyCQA/pydocstyle + rev: 6.3.0 + hooks: + - id: pydocstyle + - repo: https://github.com/MarcoGorelli/absolufy-imports + rev: v0.3.1 + hooks: + - id: absolufy-imports + - repo: https://github.com/cheshirekow/cmake-format-precommit + rev: v0.6.13 + hooks: + - id: cmake-format + - id: cmake-lint + - repo: https://github.com/pocc/pre-commit-hooks + rev: v1.3.5 + hooks: + - id: clang-format + args: [--style=Google] + - id: clang-tidy + - id: oclint + - id: uncrustify + - id: cppcheck + - id: cpplint + - id: include-what-you-use + - repo: https://github.com/thlorenz/doctoc + rev: v2.2.0 + hooks: + - id: doctoc