Skip to content

Commit 56c2081

Browse files
authored
chore(ci): pre-commit add 6 more hooks and clean up (#378)
1 parent 4e28de1 commit 56c2081

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

.pre-commit-config.yaml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,44 +16,50 @@
1616
# under the License.
1717
repos:
1818
- repo: https://github.com/pre-commit/pre-commit-hooks
19-
rev: v5.0.0
19+
rev: v6.0.0
2020
hooks:
21-
- id: check-yaml
22-
- id: end-of-file-fixer
23-
- id: trailing-whitespace
21+
- id: check-illegal-windows-names
22+
- id: check-merge-conflict
23+
- id: check-toml
24+
- id: check-vcs-permalinks
25+
- id: check-yaml
26+
- id: detect-private-key
27+
- id: end-of-file-fixer
28+
- id: fix-byte-order-marker
29+
- id: trailing-whitespace
2430

2531
- repo: https://github.com/codespell-project/codespell
2632
rev: v2.4.1
2733
hooks:
28-
- id: codespell
34+
- id: codespell
2935
# types_or: [markdown, c, c++, rust, python]
3036
additional_dependencies: [tomli]
3137
exclude: "^c/(sedona-geoarrow-c/src/geoarrow|sedona-geoarrow-c/src/nanoarrow|sedona-tg/src/tg)/.*|^docs/image/sedonadb-architecture\\.svg$"
3238

3339
- repo: https://github.com/astral-sh/ruff-pre-commit
34-
rev: v0.11.8
40+
rev: v0.14.6
3541
hooks:
3642
- id: ruff
37-
args: [ --fix ]
43+
args: [--fix]
3844
- id: ruff-format
3945

4046
- repo: https://github.com/doublify/pre-commit-rust
4147
rev: v1.0
4248
hooks:
43-
- id: fmt
44-
name: rustfmt
45-
args: ["--all", "--"]
49+
- id: fmt
50+
name: rustfmt
51+
args: ["--all", "--"]
4652

4753
- repo: https://github.com/cheshirekow/cmake-format-precommit
4854
rev: v0.6.13
4955
hooks:
50-
- id: cmake-format
51-
args: [--in-place]
56+
- id: cmake-format
57+
args: [--in-place]
5258

5359
- repo: https://github.com/pre-commit/mirrors-clang-format
54-
rev: v19.1.4
60+
rev: v21.1.6
5561
hooks:
56-
- id: clang-format
57-
types_or: [c, c++]
58-
# Don't run on vendored files
59-
exclude: "^c/(sedona-geoarrow-c/src/geoarrow|sedona-geoarrow-c/src/nanoarrow|sedona-tg/src/tg)/.*"
62+
- id: clang-format
63+
types_or: [c, c++]
64+
# Don't run on vendored files
65+
exclude: "^c/(sedona-geoarrow-c/src/geoarrow|sedona-geoarrow-c/src/nanoarrow|sedona-tg/src/tg)/.*"

0 commit comments

Comments
 (0)