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 <tom@tromey.com>
hooks:
- id: tclint
args: [--trust-plugins]
- types_or: [file]
files: '^gdb/testsuite/.*\.(exp|tcl)$'