[binutils-gdb] [pre-commit] Drop types_or filtering for tclint
Tom de Vries via Gdb-cvs <[email protected]> Wed, 17 Jun 2026 19:40:10 +0000 (GMT)
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=836522f582b848831e310cfcdcec078ea61436dd commit 836522f582b848831e310cfcdcec078ea61436dd Author: Tom de Vries <[email protected]> Date: Wed Jun 17 21:40:03 2026 +0200 [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 <[email protected]> Diff: --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) 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)$'