From 110f4760bfc2d4129455267d023e4064c86ec5a0 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 21 Aug 2026 09:27:33 -0400 Subject: [PATCH 1/3] Add GitHub Actions workflow for codespell on main --- .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 0000000..22fdec2 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,23 @@ +# Codespell configuration is within pyproject.toml +--- +name: Codespell + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Codespell + uses: codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579 # v2.2 From 6b790b54b69bcae7cf98e93e110da5664de7ea1e Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 21 Aug 2026 09:27:33 -0400 Subject: [PATCH 2/3] Add rudimentary codespell config --- pyproject.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 4195e98..11f4837 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,3 +51,10 @@ test = "python -m unittest -v" [[tool.hatch.envs.test.matrix]] python = ["3.9", "3.10", "3.11", "3.12", "3.13"] + +[tool.codespell] +# Ref: https://github.com/codespell-project/codespell#using-a-config-file +skip = '.git,.gitignore,.gitattributes' +check-hidden = true +# ignore-regex = '' +# ignore-words-list = '' From 02b272e584962d9b26db48ecf5b77bf9ac95ab8a Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 21 Aug 2026 09:27:34 -0400 Subject: [PATCH 3/3] [DATALAD RUNCMD] chore: run codespell throughout fixing few left typos automagically === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5790ba6..de3dcba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -101,7 +101,7 @@ CHANGELOG ## 0.1.2 (2024-03-20) -- Fix minimum required Pyhton version (3.11) +- Fix minimum required Python version (3.11) ## 0.1.0 (2024-03-18)