diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99ea7a3c..21363eb5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,19 +20,10 @@ ci: submodules: true repos: - # keep-sorted start - - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 - hooks: - - id: codespell - - repo: https://github.com/google/keep-sorted - rev: v0.5.1 + - repo: meta hooks: - - id: keep-sorted - - repo: https://github.com/lalten/check-gha-pinning - rev: v1.3.0 - hooks: - - id: check-gha-pinning + - id: check-hooks-apply + - id: check-useless-excludes - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: @@ -45,9 +36,21 @@ repos: args: - --autofix - --no-sort-keys - - id: sort-simple-yaml - id: trailing-whitespace # keep-sorted end + # keep-sorted start + - repo: https://github.com/codespell-project/codespell + rev: v2.3.0 + hooks: + - id: codespell + - repo: https://github.com/google/keep-sorted + rev: v0.5.1 + hooks: + - id: keep-sorted + - repo: https://github.com/lalten/check-gha-pinning + rev: v1.3.0 + hooks: + - id: check-gha-pinning - repo: https://github.com/rhysd/actionlint/ rev: v1.7.5 hooks: