[binutils-gdb] [pre-commit] Update tclint to v6.0.1

Tom de Vries vries@sourceware.org
Fri Sep 19 16:49:19 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d20af3a3c253a76400d8d98f1c1dc651f818cda4

commit d20af3a3c253a76400d8d98f1c1dc651f818cda4
Author: Tom de Vries <tdevries@suse.de>
Date:   Fri Sep 19 18:49:21 2025 +0200

    [pre-commit] Update tclint to v6.0.1
    
    Upstream tclint updated its stable release to v6.0.1.  That version includes
    the pre-commit support that was missing in v0.6.0, which required us to use an
    unofficial repo [1].
    
    Update tclint to v6.0.1.
    
    Tested by running:
    ...
    $ pre-commit run --all-files tclint
    tclint................................................................Passed
    ...
    
    [1] commit 7f6c7a5bb37 ("[pre-commit] Add tclint hook")

Diff:
---
 .pre-commit-config.yaml | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5b651b45fd2..8e7a2b048ce 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -88,16 +88,8 @@ repos:
       verbose: true
       always_run: true
       stages: [commit-msg]
-  - # We'd like to use the official repo, like this:
-    #   repo: https://github.com/nmoroze/tclint
-    #   rev: v0.6.0
-    # but it doesn't have a .pre-commit-hooks.yaml file.
-    # Work around this by using an unoffical repo.  The repo contains a tag
-    # v0.6.0-gdb that adds a .pre-commit-hooks.yaml file to the v0.6.0 release
-    # of the offical repo.  Since we're using an unofficial repo, use the git
-    # SHA instead of the tag.
-    repo: https://github.com/vries/tclint.git
-    rev: 2e6b4510fb3d3d6f8f2609af0f7158fabc0c96e4
+  - repo: https://github.com/nmoroze/tclint
+    rev: v0.6.1
     hooks:
     - id: tclint
       args: [--config, gdb/tclint.toml]


More information about the Binutils-cvs mailing list