|
1 | 1 | repos: |
2 | 2 | - repo: https://github.com/astral-sh/ruff-pre-commit |
3 | | - rev: v0.14.2 |
| 3 | + rev: v0.15.10 |
4 | 4 | hooks: |
5 | 5 | - id: ruff |
6 | 6 | alias: ruff-include-sorting |
7 | 7 | name: Check include sorting (ruff) |
8 | | - args: ['check', '--select', 'I', '--fix', '.'] |
| 8 | + args: [ 'check', '--select', 'I', '--fix', '.' ] |
9 | 9 | - id: ruff-format |
10 | 10 | name: Check formatting (ruff) |
11 | | - args: ['.'] |
| 11 | + args: [ '.' ] |
12 | 12 | - id: ruff |
13 | 13 | alias: ruff-linting |
14 | 14 | name: Linting (ruff) |
15 | 15 | files: ^pedpy/ |
16 | 16 |
|
17 | 17 | - repo: https://github.com/pre-commit/mirrors-mypy |
18 | | - rev: v1.18.2 |
| 18 | + rev: v1.20.0 |
19 | 19 | hooks: |
20 | 20 | - id: mypy |
21 | 21 | name: Check type hints (mypy) |
22 | 22 | additional_dependencies: [ |
23 | | - "numpy~=2.1", |
24 | | - "pandas~=2.2.3", |
25 | | - "Shapely~=2.1", |
26 | | - "scipy~=1.14", |
27 | | - "matplotlib~=3.9", |
28 | | - "h5py~=3.11" |
| 23 | + "numpy>=2.1,<3.0", |
| 24 | + "pandas>=2.2,<4.0", |
| 25 | + "Shapely>=2.1,<3.0", |
| 26 | + "scipy~=1.15,<2.0", |
| 27 | + "matplotlib~=3.10,<4.0", |
| 28 | + "h5py~=3.13,<4.0", |
29 | 29 | ] |
30 | 30 | exclude: "(^helper/|^docs/|^scripts/|^tests/)" |
31 | 31 |
|
32 | 32 | - repo: https://github.com/kynan/nbstripout |
33 | | - rev: 0.8.1 |
| 33 | + rev: 0.9.1 |
34 | 34 | hooks: |
35 | 35 | - id: nbstripout |
36 | 36 | exclude: ^docs/ |
37 | 37 |
|
38 | | - - repo: https://github.com/pre-commit/pre-commit-hooks |
39 | | - rev: v6.0.0 |
40 | | - hooks: |
41 | | - - id: end-of-file-fixer |
42 | | - - id: trailing-whitespace |
43 | | - - id: check-yaml |
44 | | - - id: check-json |
45 | | - - id: check-executables-have-shebangs |
46 | | - - id: check-shebang-scripts-are-executable |
47 | | - - id: check-symlinks |
48 | | - - id: destroyed-symlinks |
| 38 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
| 39 | + rev: v6.0.0 |
| 40 | + hooks: |
| 41 | + - id: end-of-file-fixer |
| 42 | + - id: trailing-whitespace |
| 43 | + - id: check-yaml |
| 44 | + - id: check-json |
| 45 | + - id: check-executables-have-shebangs |
| 46 | + - id: check-shebang-scripts-are-executable |
| 47 | + - id: check-symlinks |
| 48 | + - id: destroyed-symlinks |
0 commit comments