Skip to content

Commit 2499409

Browse files
authored
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
1 parent 73a9d53 commit 2499409

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,15 @@ extend-allowed-calls = ["datafusion.lit", "lit"]
170170
"docs/*" = ["D"]
171171
"docs/source/conf.py" = ["ANN001", "ERA001", "INP001"]
172172

173+
# CI and pre-commit invoke codespell with different paths, so we have a little
174+
# redundancy here, and we intentionally drop python in the path.
173175
[tool.codespell]
174176
skip = [
175-
"./python/tests/test_functions.py",
176-
"./target",
177+
"*/tests/test_functions.py",
178+
"*/target",
179+
"./uv.lock",
177180
"uv.lock",
178-
"./examples/tpch/answers_sf1/*",
181+
"*/tpch/answers_sf1/*",
179182
]
180183
count = true
181184
ignore-words-list = ["IST", "ans"]

0 commit comments

Comments
 (0)