This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new d5c8e16d68 [CI] Centralize codespell config; remove duplication (#2749)
d5c8e16d68 is described below

commit d5c8e16d6855b18636bf2ccbc4d953fc00e77df3
Author: John Bampton <[email protected]>
AuthorDate: Mon Mar 16 15:03:11 2026 +1000

    [CI] Centralize codespell config; remove duplication (#2749)
---
 .github/workflows/pre-commit-manual.yml |  2 +-
 .github/workflows/pre-commit.yml        |  2 +-
 .pre-commit-config.yaml                 | 11 -----------
 pyproject.toml                          | 14 +++++++++++---
 4 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/pre-commit-manual.yml 
b/.github/workflows/pre-commit-manual.yml
index 4399099374..56a8ed1a0a 100644
--- a/.github/workflows/pre-commit-manual.yml
+++ b/.github/workflows/pre-commit-manual.yml
@@ -37,7 +37,7 @@ jobs:
           persist-credentials: false
       - uses: actions/setup-python@v6 # https://www.python.org/
         with:
-          python-version: '3.10' # Version range or exact version of a Python 
version to use, using SemVer's version range syntax
+          python-version: '3.11' # Version range or exact version of a Python 
version to use, using SemVer's version range syntax
           architecture: 'x64' # optional x64 or x86. Defaults to x64 if not 
specified
       - name: Install dependencies # https://pip.pypa.io/en/stable/
         run: |
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 7c9aadb4cc..40e5d31302 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -37,7 +37,7 @@ jobs:
           persist-credentials: false
       - uses: actions/setup-python@v6 # https://www.python.org/
         with:
-          python-version: '3.10' # Version range or exact version of a Python 
version to use, using SemVer's version range syntax
+          python-version: '3.11' # Version range or exact version of a Python 
version to use, using SemVer's version range syntax
           architecture: 'x64' # optional x64 or x86. Defaults to x64 if not 
specified
       - name: Install dependencies # https://pip.pypa.io/en/stable/
         run: |
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4c981c7ac5..657a0e9c1c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -315,17 +315,6 @@ repos:
       - id: codespell
         name: run codespell
         description: check spelling with codespell
-        args: [--ignore-words=.github/linters/codespell.txt]
-        exclude: |
-          (?x)(
-            ^docker/zeppelin|
-            ^docs/image|
-            ^docs/usecases|
-            ^docs-overrides|
-            ^spark/common/src/test/resources|
-            ^tools/maven/scalafmt|
-            osmpbf/build
-          )
   - repo: https://github.com/gitleaks/gitleaks
     rev: v8.30.0
     hooks:
diff --git a/pyproject.toml b/pyproject.toml
index bc80f9c30c..93bcddd023 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -20,9 +20,17 @@ exclude_dirs = ["python/tests"]
 skips = ["B101"]
 
 [tool.codespell]
-ignore-words = '.github/linters/codespell.txt'
-skip = 
'./docs/image,./docs/usecases,./site,./spark/common/src/test/resources,./tools/maven/scalafmt.conf'
-
+ignore-words = ".github/linters/codespell.txt"
+skip = [
+    "docker/zeppelin/examples/*.zpln",
+    "docs/image/*",
+    "docs/usecases/*",
+    "docs-overrides/package-lock.json",
+    "site/*",
+    
"spark/common/src/main/java/org/apache/sedona/sql/datasources/osmpbf/build/*",
+    "spark/common/src/test/resources/*",
+    "tools/maven/scalafmt.conf"
+]
 # ---------------------------------------------------------------------------
 # Root pyproject.toml used only for documentation & dev dependency management.
 # This is NOT a distributable Python package. Actual Sedona Python package is

Reply via email to