diff options
author | Tom de Vries <tdevries@suse.de> | 2025-04-01 15:47:55 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-04-01 15:47:55 +0200 |
commit | 387e49def642918ac7cd9ee426eeee43f9986b76 (patch) | |
tree | 455cc2ce7aa5e5c970a8d364cae0c65adbc0cb54 /gdb | |
parent | bbfa90724d2744b2a1027b04eda5e9208c762380 (diff) | |
download | binutils-387e49def642918ac7cd9ee426eeee43f9986b76.zip binutils-387e49def642918ac7cd9ee426eeee43f9986b76.tar.gz binutils-387e49def642918ac7cd9ee426eeee43f9986b76.tar.bz2 |
[gdb/contrib] Support gdb in codespell section of setup.cfg
Add support for the gdb dir in the codespell section of gdb/contrib/setup.cfg,
specifically adding files in the skip line.
This allows us to run codespell from the command line on the gdb dir:
...
$ codespell --config gdb/contrib/setup.cfg gdb 2>/dev/null | wc -l
1665
...
without running into warnings in generated files.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/contrib/setup.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/contrib/setup.cfg b/gdb/contrib/setup.cfg index 71459fe..dbff165 100644 --- a/gdb/contrib/setup.cfg +++ b/gdb/contrib/setup.cfg @@ -1,6 +1,6 @@ [codespell] # Skip ChangeLogs and generated files. -skip = */ChangeLog*,*/configure,gdbsupport/Makefile.in +skip = */ChangeLog*,*/configure,gdbsupport/Makefile.in,*.dat,*.eps,gdb/features/*.c,gdb/ada-casefold.h,gdb/copying.c,gdb/gdbarch-gen.h,gdb/gdbarch-gen.c,gdb/target-delegates-gen.c ignore-words = gdb/contrib/codespell-ignore-words.txt |