This is an automated email from the ASF dual-hosted git repository.
paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git
The following commit(s) were added to refs/heads/main by this push:
new 56c2081a chore(ci): pre-commit add 6 more hooks and clean up (#378)
56c2081a is described below
commit 56c2081a0912709d980a614187a449bc446a3ff5
Author: John Bampton <[email protected]>
AuthorDate: Wed Dec 3 01:42:46 2025 +1000
chore(ci): pre-commit add 6 more hooks and clean up (#378)
---
.pre-commit-config.yaml | 40 +++++++++++++++++++++++-----------------
1 file changed, 23 insertions(+), 17 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 84f26f58..588ea126 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -16,44 +16,50 @@
# under the License.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v5.0.0
+ rev: v6.0.0
hooks:
- - id: check-yaml
- - id: end-of-file-fixer
- - id: trailing-whitespace
+ - id: check-illegal-windows-names
+ - id: check-merge-conflict
+ - id: check-toml
+ - id: check-vcs-permalinks
+ - id: check-yaml
+ - id: detect-private-key
+ - id: end-of-file-fixer
+ - id: fix-byte-order-marker
+ - id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- - id: codespell
+ - id: codespell
# types_or: [markdown, c, c++, rust, python]
additional_dependencies: [tomli]
exclude:
"^c/(sedona-geoarrow-c/src/geoarrow|sedona-geoarrow-c/src/nanoarrow|sedona-tg/src/tg)/.*|^docs/image/sedonadb-architecture\\.svg$"
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.11.8
+ rev: v0.14.6
hooks:
- id: ruff
- args: [ --fix ]
+ args: [--fix]
- id: ruff-format
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- - id: fmt
- name: rustfmt
- args: ["--all", "--"]
+ - id: fmt
+ name: rustfmt
+ args: ["--all", "--"]
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- - id: cmake-format
- args: [--in-place]
+ - id: cmake-format
+ args: [--in-place]
- repo: https://github.com/pre-commit/mirrors-clang-format
- rev: v19.1.4
+ rev: v21.1.6
hooks:
- - id: clang-format
- types_or: [c, c++]
- # Don't run on vendored files
- exclude:
"^c/(sedona-geoarrow-c/src/geoarrow|sedona-geoarrow-c/src/nanoarrow|sedona-tg/src/tg)/.*"
+ - id: clang-format
+ types_or: [c, c++]
+ # Don't run on vendored files
+ exclude:
"^c/(sedona-geoarrow-c/src/geoarrow|sedona-geoarrow-c/src/nanoarrow|sedona-tg/src/tg)/.*"