From 12be865f1b7cb859f4bd13aa25f94c56a18299bb Mon Sep 17 00:00:00 2001
From: Yaroslav Halchenko
Date: Fri, 14 Nov 2025 13:08:31 -0500
Subject: [PATCH 1/3] Add github action to codespell gh-pages on push and PRs
---
.github/workflows/codespell.yml | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 .github/workflows/codespell.yml
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
new file mode 100644
index 000000000..c46c8e6e2
--- /dev/null
+++ b/.github/workflows/codespell.yml
@@ -0,0 +1,25 @@
+# Codespell configuration is within .codespellrc
+---
+name: Codespell
+
+on:
+ push:
+ branches: [gh-pages]
+ pull_request:
+ branches: [gh-pages]
+
+permissions:
+ contents: read
+
+jobs:
+ codespell:
+ name: Check for spelling errors
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ - name: Annotate locations with typos
+ uses: codespell-project/codespell-problem-matcher@v1
+ - name: Codespell
+ uses: codespell-project/actions-codespell@v2
From 67ab4513115acf12cd913fc813fda167a20961bc Mon Sep 17 00:00:00 2001
From: Yaroslav Halchenko
Date: Fri, 14 Nov 2025 13:08:31 -0500
Subject: [PATCH 2/3] Add rudimentary codespell config with some excludes
---
.codespellrc | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 .codespellrc
diff --git a/.codespellrc b/.codespellrc
new file mode 100644
index 000000000..c91fa1a38
--- /dev/null
+++ b/.codespellrc
@@ -0,0 +1,8 @@
+[codespell]
+# Ref: https://github.com/codespell-project/codespell#using-a-config-file
+skip = .git*,*.css,.codespellrc,LICENSE
+check-hidden = true
+# Case sensitive etc. Python regex
+ignore-regex = \b(CLOS|oh noes|xmlns:\S+)\b|github\.com/dsnet/compress/flate|Use "\S+".* not "\S+"
+# Unfortunate/suboptimal choices of variables/words
+ignore-words-list = anumber,afile,statics
From ef2bf9f26992127ca4147b3b3fa856e24cdc57f1 Mon Sep 17 00:00:00 2001
From: Yaroslav Halchenko
Date: Fri, 14 Nov 2025 13:23:32 -0500
Subject: [PATCH 3/3] [DATALAD RUNCMD] chore: run codespell throughout fixing a
few new typos automagically
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
---
cppguide.html | 2 +-
htmlcssguide.html | 2 +-
jsoncstyleguide.xml | 2 +-
lispguide.xml | 2 +-
pylintrc | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/cppguide.html b/cppguide.html
index 7c6db3cbc..36f3ba50d 100644
--- a/cppguide.html
+++ b/cppguide.html
@@ -1583,7 +1583,7 @@ Inheritance
inheritance".
-Implementation inheritance reduces code size by re-using
+
Implementation inheritance reduces code size by reusing
the base class code as it specializes an existing type.
Because inheritance is a compile-time declaration, you
and the compiler can understand the operation and detect
diff --git a/htmlcssguide.html b/htmlcssguide.html
index f23825df2..b42fe4de4 100644
--- a/htmlcssguide.html
+++ b/htmlcssguide.html
@@ -173,7 +173,7 @@
Document Type
different doctype may be rendered in “limited-quirks mode”. These modes don’t
follow the widely-understood, widely-documented behavior for various core HTML
and CSS constructs, and are likely to cause subtle failures and
-incompatibilities especially when re-using code that expects no-quirks mode.
+incompatibilities especially when reusing code that expects no-quirks mode.
HTML Validity
diff --git a/jsoncstyleguide.xml b/jsoncstyleguide.xml
index 010c585bb..4fb11ef4f 100644
--- a/jsoncstyleguide.xml
+++ b/jsoncstyleguide.xml
@@ -201,7 +201,7 @@ Avoid naming conflicts by choosing a new property name or versioning the API.
"data": {
"recipeName": "pizza",
"ingredients": "Some new property",
- "recipeIngredients": ["tomatos", "cheese", "sausage"]
+ "recipeIngredients": ["tomatoes", "cheese", "sausage"]
}
}
diff --git a/lispguide.xml b/lispguide.xml
index d4f384138..c29c88b83 100644
--- a/lispguide.xml
+++ b/lispguide.xml
@@ -2054,7 +2054,7 @@ Robert Brown
but sometimes, fixups are necessary to resolve forward references,
and intercession is allowed then.
MOP intercession is a great tool for interactive development,
- and you may enjoy it while developping and debugging;
+ and you may enjoy it while developing and debugging;
but you should not use it in normal applications.
diff --git a/pylintrc b/pylintrc
index 70c1cc161..60bc863f9 100644
--- a/pylintrc
+++ b/pylintrc
@@ -59,7 +59,7 @@ confidence=
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once).You can also use "--disable=all" to
-# disable everything first and then reenable specific checks. For example, if
+# disable everything first and then re-enable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes