[RFC 1/2] [gdb] Ignore codespell errors followed by sic marker
Tom de Vries <[email protected]> Sat, 25 Jul 2026 11:02:25 +0200
| Newsgroups | gmane.comp.gdb.patches |
|---|---|
| Message-ID | <[email protected]> |
Codespell v2.4.3 introduced off-by-default --ignore-sic, allowing to ignore intentional typos relatively easily by following them with a sic [1] marker: '[sic]'. Enable it, for use in gdb source files and commit messages. [1] https://en.wikipedia.org/wiki/Sic --- gdb/pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/pyproject.toml b/gdb/pyproject.toml index 80a106b7183..011f92e1ac2 100644 --- a/gdb/pyproject.toml +++ b/gdb/pyproject.toml @@ -152,3 +152,5 @@ ignore-multiline-regex = 'codespell:ignore-begin.*?codespell:ignore-end' # Add 1 (disable warnings about wrong encoding) in addition to the default # 2+32 to skip warnings about iso-8859-1 encoded files. quiet-level = 35 # 1+2+32 + +ignore-sic = true -- 2.51.0