From: Tom de Vries Date: Mon, 15 Jun 2026 11:24:08 +0000 (+0200) Subject: [pre-commit] Include gdb in codespell check X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=664cc2deff7085b627da58f2d830491df25943d0;p=thirdparty%2Fbinutils-gdb.git [pre-commit] Include gdb in codespell check Include the files in the gdb dir in the codespell pre-commit check. --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d75468d0b48..80d15f8ee10 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -71,7 +71,7 @@ repos: rev: v2.4.2 hooks: - id: codespell - files: '^(gdbsupport|gdbserver|gdb/(doc|stubs|features|nat|contrib|dwarf2|tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|debuginfod|gdb|go|guile|mi|modula2|objc|opencl|opt|pascal|perf|replay|reverse|rocm|server|stabs|testsuite|tui|xml)))/' + files: '^(gdbsupport|gdbserver|gdb/(doc|stubs|features|nat|contrib|dwarf2|tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|cli|testsuite/gdb.(ctf|dap|debuginfod|gdb|go|guile|mi|modula2|objc|opencl|opt|pascal|perf|replay|reverse|rocm|server|stabs|testsuite|tui|xml)))/|^gdb/[^/]*$' args: [--toml, gdb/pyproject.toml] - id: codespell name: codespell-log