[Bug build/34411] [pre-commit] Don't use types filtering

"cvs-commit at gcc dot gnu.org via Gdb-prs" <[email protected]>
Newsgroups gmane.comp.gdb.bugs.discuss
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34411

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <[email protected]>:

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

commit bec8230435edac7b75bae3c60800ebb249ebe180
Author: Tom de Vries <[email protected]>
Date:   Tue Aug 25 14:48:26 2026 +0200

    [pre-commit] Don't require text type for codespell hook

    Codespell's .pre-commit-hooks.yaml sets "types: [text]".

    Override this using "types: [file]", to make the codespell hook see the
same
    files as codespell usage outside pre-commit:
    ...
    $ codespell --toml gdb/pyproject.toml gdb*
    ...

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34411

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.