-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.pre-commit-config.yaml
39 lines (38 loc) · 1.11 KB
/
.pre-commit-config.yaml
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
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
# Ruff version.
rev: 'v0.8.0'
hooks:
- id: ruff-format
- id: ruff
args: ["--fix", "--show-fixes", "icechunk-python/"]
- repo: /~https://github.com/rhysd/actionlint
rev: v1.7.4
hooks:
- id: actionlint
files: ".github/workflows/"
args: ["-ignore", "SC1090", "-ignore", "SC2046", "-ignore", "SC2086", "-ignore", "SC2129", "-ignore", "SC2155"]
- repo: /~https://github.com/codespell-project/codespell
# Configuration for codespell is in .codespellrc
rev: v2.3.0
hooks:
- id: codespell
- repo: local
hooks:
- id: just-rust
name: just
description: Run the just pre-commit step
entry: just pre-commit
language: system
pass_filenames: false
files: "icechunk/"
exclude: 'tests/data/.*'