From: Tom de Vries Date: Wed, 17 Jun 2026 19:40:03 +0000 (+0200) Subject: [pre-commit] Drop types_or filtering for tclint X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=836522f582b848831e310cfcdcec078ea61436dd;p=thirdparty%2Fbinutils-gdb.git [pre-commit] Drop types_or filtering for tclint The pre-commit tclint hook filters files using: ... types_or: [file] files: '^gdb/testsuite/.*\.(exp|tcl)$' ... The types_or setting overrides the default file type of the hook. In the case of tclint, there's no such default. So this setting is not required, and causes additional filtering to run. It was probably added by using one of the python hooks as a starting point. Remove it. Approved-By: Tom Tromey --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a5b526b1eec..902e58d4d8c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -123,5 +123,4 @@ repos: hooks: - id: tclint args: [--trust-plugins] - types_or: [file] files: '^gdb/testsuite/.*\.(exp|tcl)$'