Skip to content

Commit c16206e

Browse files
committed
update pre-commit dependencies
1 parent 304d029 commit c16206e

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

.pre-commit-config.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.14.2
3+
rev: v0.15.10
44
hooks:
55
- id: ruff
66
alias: ruff-include-sorting
77
name: Check include sorting (ruff)
8-
args: ['check', '--select', 'I', '--fix', '.']
8+
args: [ 'check', '--select', 'I', '--fix', '.' ]
99
- id: ruff-format
1010
name: Check formatting (ruff)
11-
args: ['.']
11+
args: [ '.' ]
1212
- id: ruff
1313
alias: ruff-linting
1414
name: Linting (ruff)
1515
files: ^pedpy/
1616

1717
- repo: https://github.com/pre-commit/mirrors-mypy
18-
rev: v1.18.2
18+
rev: v1.20.0
1919
hooks:
2020
- id: mypy
2121
name: Check type hints (mypy)
2222
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",
2929
]
3030
exclude: "(^helper/|^docs/|^scripts/|^tests/)"
3131

3232
- repo: https://github.com/kynan/nbstripout
33-
rev: 0.8.1
33+
rev: 0.9.1
3434
hooks:
3535
- id: nbstripout
3636
exclude: ^docs/
3737

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

Comments
 (0)