You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2024/04/01 23:48:17 UTC

(sedona) branch master updated: [SEDONA-524] Clean up the `pre-commit` config (#1302)

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 90a9091f2 [SEDONA-524] Clean up the `pre-commit` config (#1302)
90a9091f2 is described below

commit 90a9091f2c2190b6c17a2c1d6c5f6e1959531b12
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Tue Apr 2 09:48:12 2024 +1000

    [SEDONA-524] Clean up the `pre-commit` config (#1302)
    
    https://github.com/codespell-project/codespell?tab=readme-ov-file#pre-commit-hook
---
 codespell.txt => .github/linters/codespell.txt | 0
 .pre-commit-config.yaml                        | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/codespell.txt b/.github/linters/codespell.txt
similarity index 100%
rename from codespell.txt
rename to .github/linters/codespell.txt
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8fb3fb2a0..e564ea870 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -16,7 +16,7 @@ repos:
       - id: codespell
         name: Run codespell
         description: Check spelling with codespell
-        entry: codespell --ignore-words=codespell.txt
+        args: [--ignore-words=.github/linters/codespell.txt]
         exclude: ^docs/image|^spark/common/src/test/resources
   - repo: https://github.com/pre-commit/pre-commit-hooks
     rev: v4.5.0