From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [RFC 1/2] [gdb] Ignore codespell errors followed by sic marker
Date: Sat, 25 Jul 2026 11:02:25 +0200 [thread overview]
Message-ID: <20260725090226.839799-2-tdevries@suse.de> (raw)
In-Reply-To: <20260725090226.839799-1-tdevries@suse.de>
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
next prev parent reply other threads:[~2026-07-25 9:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-25 9:02 [RFC 0/2] [pre-commit] Require codespell-clean commit messages Tom de Vries
2026-07-25 9:02 ` Tom de Vries [this message]
2026-07-25 9:02 ` [RFC 2/2] " Tom de Vries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260725090226.839799-2-tdevries@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox