From b03d527765ce032308bf06e3f9adab7452871b6a Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 7 Apr 2026 11:49:31 -0400 Subject: [PATCH 1/4] Add GitHub Actions workflow for codespell on master --- .github/workflows/codespell.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 00000000..1ed0f27d --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,23 @@ +# Codespell configuration is within .codespellrc +--- +name: Codespell + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Codespell + uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2 From 13fa0c98e190f2f37ae320855dbc7df8fc2b38f6 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 7 Apr 2026 11:49:31 -0400 Subject: [PATCH 2/4] Add rudimentary codespell config --- .codespellrc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .codespellrc diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..12915cef --- /dev/null +++ b/.codespellrc @@ -0,0 +1,6 @@ +[codespell] +# Ref: https://github.com/codespell-project/codespell#using-a-config-file +skip = .git,.gitignore,.gitattributes,*.svg,*-lock.yaml,*.css,.codespellrc +check-hidden = true +# ignore-regex = +# ignore-words-list = From ff913e486d0a63c1df9f6a813ba1f5dadaff0581 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 7 Apr 2026 11:50:49 -0400 Subject: [PATCH 3/4] Tune codespell config: skip fixtures, add ignore-words-list - Skip fixtures/ directory (test fixtures with intentional duplicate code) - Add afterall (JS test framework), inout (SQL keyword), acter (part of CHAR(?:ACTER|SET)? regex) to ignore-words-list Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 --- .codespellrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.codespellrc b/.codespellrc index 12915cef..289e53aa 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,6 +1,9 @@ [codespell] # Ref: https://github.com/codespell-project/codespell#using-a-config-file -skip = .git,.gitignore,.gitattributes,*.svg,*-lock.yaml,*.css,.codespellrc +skip = .git,.gitignore,.gitattributes,*.svg,*-lock.yaml,*.css,.codespellrc,fixtures check-hidden = true -# ignore-regex = -# ignore-words-list = +# ignore-regex = +# afterall - JS test framework function (afterAll) +# inout - SQL keyword (INOUT) +# acter - part of CHAR(?:ACTER|SET)? regex pattern for SQL keywords +ignore-words-list = afterall,inout,acter From ba8055965cc615b4f1c4c4d3e549e2af7adc5db1 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 7 Apr 2026 11:51:05 -0400 Subject: [PATCH 4/4] [DATALAD RUNCMD] Fix non-ambiguous typo with codespell Fixed typo: - programing -> programming (apps/jscpd/README.md) Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 === Do not change lines below === { "chain": [], "cmd": "uvx codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- apps/jscpd/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/jscpd/README.md b/apps/jscpd/README.md index 7112294c..c0d7d343 100644 --- a/apps/jscpd/README.md +++ b/apps/jscpd/README.md @@ -46,7 +46,7 @@ The jscpd tool implements [Rabin-Karp](https://en.wikipedia.org/wiki/Rabin%E2%80 ## Features - - Detect duplications in programming source code, use semantic of programing languages, can skip comments, empty lines etc. + - Detect duplications in programming source code, use semantic of programming languages, can skip comments, empty lines etc. - Detect duplications in embedded blocks of code, like `