|
1 | 1 | ci:
|
2 |
| - autoupdate_commit_msg: "chore: update pre-commit hooks" |
3 |
| - autoupdate_schedule: "monthly" |
4 |
| - autofix_commit_msg: "style: pre-commit fixes" |
| 2 | + autoupdate_commit_msg: 'chore: update pre-commit hooks' |
| 3 | + autoupdate_schedule: monthly |
| 4 | + autofix_commit_msg: 'style: pre-commit fixes' |
5 | 5 | autofix_prs: false
|
6 | 6 | default_stages: [pre-commit, pre-push]
|
7 | 7 | repos:
|
8 |
| - - repo: https://github.com/astral-sh/ruff-pre-commit |
9 |
| - rev: v0.11.9 |
10 |
| - hooks: |
11 |
| - - id: ruff |
12 |
| - args: ["--fix", "--show-fixes"] |
13 |
| - - id: ruff-format |
14 |
| - - repo: https://github.com/codespell-project/codespell |
15 |
| - rev: v2.4.1 |
16 |
| - hooks: |
17 |
| - - id: codespell |
18 |
| - args: ["-L", "fo,ihs,kake,te", "-S", "fixture"] |
19 |
| - - repo: https://github.com/pre-commit/pre-commit-hooks |
20 |
| - rev: v5.0.0 |
21 |
| - hooks: |
22 |
| - - id: check-yaml |
23 |
| - - id: trailing-whitespace |
24 |
| - - repo: https://github.com/pre-commit/mirrors-mypy |
25 |
| - rev: v1.15.0 |
26 |
| - hooks: |
27 |
| - - id: mypy |
28 |
| - files: src|tests |
29 |
| - additional_dependencies: |
| 8 | +- repo: https://github.com/astral-sh/ruff-pre-commit |
| 9 | + rev: v0.11.9 |
| 10 | + hooks: |
| 11 | + - id: ruff |
| 12 | + args: [--fix, --show-fixes] |
| 13 | + - id: ruff-format |
| 14 | +- repo: https://github.com/sourcery-ai/sourcery |
| 15 | + rev: v1.37.0 |
| 16 | + hooks: |
| 17 | + - id: sourcery |
| 18 | + args: [--diff=git diff HEAD, --no-summary] |
| 19 | +- repo: https://github.com/codespell-project/codespell |
| 20 | + rev: v2.4.1 |
| 21 | + hooks: |
| 22 | + - id: codespell |
| 23 | + args: [-L, 'fo,ihs,kake,te', -S, fixture] |
| 24 | +- repo: https://github.com/pre-commit/pre-commit-hooks |
| 25 | + rev: v5.0.0 |
| 26 | + hooks: |
| 27 | + - id: check-yaml |
| 28 | + - id: trailing-whitespace |
| 29 | +- repo: https://github.com/pre-commit/mirrors-mypy |
| 30 | + rev: v1.15.0 |
| 31 | + hooks: |
| 32 | + - id: mypy |
| 33 | + files: src|tests |
| 34 | + additional_dependencies: |
30 | 35 | # Package dependencies
|
31 |
| - - packaging |
32 |
| - - donfig |
33 |
| - - numcodecs[crc32c] |
34 |
| - - numpy==2.1 # until https://github.com/numpy/numpy/issues/28034 is resolved |
35 |
| - - typing_extensions |
36 |
| - - universal-pathlib |
37 |
| - - obstore>=0.5.1 |
| 36 | + - packaging |
| 37 | + - donfig |
| 38 | + - numcodecs[crc32c] |
| 39 | + - numpy==2.1 # until https://github.com/numpy/numpy/issues/28034 is resolved |
| 40 | + - typing_extensions |
| 41 | + - universal-pathlib |
| 42 | + - obstore>=0.5.1 |
38 | 43 | # Tests
|
39 |
| - - pytest |
40 |
| - - hypothesis |
41 |
| - - s3fs |
42 |
| - - repo: https://github.com/scientific-python/cookie |
43 |
| - rev: 2025.05.02 |
44 |
| - hooks: |
45 |
| - - id: sp-repo-review |
46 |
| - - repo: https://github.com/pre-commit/pygrep-hooks |
47 |
| - rev: v1.10.0 |
48 |
| - hooks: |
49 |
| - - id: rst-directive-colons |
50 |
| - - id: rst-inline-touching-normal |
51 |
| - - repo: https://github.com/numpy/numpydoc |
52 |
| - rev: v1.8.0 |
53 |
| - hooks: |
54 |
| - - id: numpydoc-validation |
55 |
| - - repo: https://github.com/twisted/towncrier |
56 |
| - rev: 24.8.0 |
57 |
| - hooks: |
58 |
| - - id: towncrier-check |
| 44 | + - pytest |
| 45 | + - hypothesis |
| 46 | + - s3fs |
| 47 | +- repo: https://github.com/scientific-python/cookie |
| 48 | + rev: 2025.05.02 |
| 49 | + hooks: |
| 50 | + - id: sp-repo-review |
| 51 | +- repo: https://github.com/pre-commit/pygrep-hooks |
| 52 | + rev: v1.10.0 |
| 53 | + hooks: |
| 54 | + - id: rst-directive-colons |
| 55 | + - id: rst-inline-touching-normal |
| 56 | +- repo: https://github.com/numpy/numpydoc |
| 57 | + rev: v1.8.0 |
| 58 | + hooks: |
| 59 | + - id: numpydoc-validation |
| 60 | +- repo: https://github.com/twisted/towncrier |
| 61 | + rev: 24.8.0 |
| 62 | + hooks: |
| 63 | + - id: towncrier-check |
0 commit comments