diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1a890db6..8dcc6cbf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,13 +1,17 @@ default_stages: [commit] repos: + - repo: meta + hooks: + - id: check-hooks-apply + - id: check-useless-excludes - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.3.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - # - repo: https://github.com/pocc/pre-commit-hooks - # rev: v1.3.5 + # - repo: https://github.com/pre-commit/mirrors-clang-format + # rev: v15.0.4 # hooks: # - id: clang-format - repo: https://github.com/cheshirekow/cmake-format-precommit @@ -19,7 +23,7 @@ repos: # additional_dependencies: ["cmakelang"] # exclude: "cmake/.*" - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 22.10.0 hooks: - id: black language_version: python3 @@ -29,6 +33,6 @@ repos: - id: isort args: [--profile, black, --multi-line, "3"] - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 5.0.4 hooks: - id: flake8