-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
56 lines (49 loc) · 1.52 KB
/
.pre-commit-config.yaml
File metadata and controls
56 lines (49 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
exclude: docs/mkdocs.yml
- id: debug-statements
- id: mixed-line-ending
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.1
hooks:
- id: ruff-format
- id: ruff
args: ["icechunk-python/"]
- repo: https://github.com/rhysd/actionlint
rev: v1.7.8
hooks:
- id: actionlint
files: ".github/workflows/"
args: ["-ignore", "SC1090", "-ignore", "SC2046", "-ignore", "SC2086", "-ignore", "SC2129", "-ignore", "SC2155"]
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
- repo: local
hooks:
- id: rust-pre-commit-fast
name: "Fast Rust checks (format, lint)"
entry: just pre-commit-fast
language: system
files: \.(rs|toml)$|Cargo\.lock$|justfile$
pass_filenames: false
- id: rust-pre-commit
name: "Medium Rust checks (compilation, deps)"
entry: just pre-commit
language: system
files: \.(rs|toml)$|Cargo\.lock$|justfile$
pass_filenames: false
stages: [pre-push]
- id: rust-pre-commit-ci
name: "Full CI checks (tests, examples)"
entry: just pre-commit-ci
language: system
files: \.(rs|toml)$|Cargo\.lock$|justfile$
pass_filenames: false
stages: [manual]
exclude: 'tests/data/.*'