From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 10 Oct 2023 08:24:10 +0000 (+0200) Subject: [3.12] Add some 'meta hooks' to our pre-commit config (GH-110587) (#110599) X-Git-Tag: v3.12.1~339 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e73210c0233a727078b4f4ae02a1ed35693d51b7;p=thirdparty%2FPython%2Fcpython.git [3.12] Add some 'meta hooks' to our pre-commit config (GH-110587) (#110599) Add some 'meta hooks' to our pre-commit config (GH-110587) (cherry picked from commit d5ec77fafd352b4eb290b86d70e4d0b4673459eb) Co-authored-by: Alex Waygood --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a5d32a04fc2d..3e17bb6f0256 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,3 +26,8 @@ repos: args: [--enable=default-role] files: ^Doc/|^Misc/NEWS.d/next/ types: [rst] + + - repo: meta + hooks: + - id: check-hooks-apply + - id: check-useless-excludes