You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by ti...@apache.org on 2026/03/31 18:09:21 UTC

(datafusion-python) branch main updated: ci: update codespell paths (#1469)

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

timsaucer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-python.git


The following commit(s) were added to refs/heads/main by this push:
     new 24994099 ci: update codespell paths (#1469)
24994099 is described below

commit 24994099e41a4e933f883557e2bce1a963bac0ea
Author: Tim Saucer <ti...@gmail.com>
AuthorDate: Tue Mar 31 14:09:16 2026 -0400

    ci: update codespell paths (#1469)
    
    * Update path so it works well with pre-commit
    
    * Prefix path with asterisk so we get matching in both CI and pre-commit
    
    * Update paths for codespell
---
 pyproject.toml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index d05a6408..327199d1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -170,12 +170,15 @@ extend-allowed-calls = ["datafusion.lit", "lit"]
 "docs/*" = ["D"]
 "docs/source/conf.py" = ["ANN001", "ERA001", "INP001"]
 
+# CI and pre-commit invoke codespell with different paths, so we have a little
+# redundancy here, and we intentionally drop python in the path.
 [tool.codespell]
 skip = [
-  "./python/tests/test_functions.py",
-  "./target",
+  "*/tests/test_functions.py",
+  "*/target",
+  "./uv.lock",
   "uv.lock",
-  "./examples/tpch/answers_sf1/*",
+  "*/tpch/answers_sf1/*",
 ]
 count = true
 ignore-words-list = ["IST", "ans"]


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org