Skip to content

Commit 157c83b

Browse files
committed
[GEOPY-2333] precommit autoupdate
and use new ruff hook name, no more the "legacy alias"
1 parent 7c2315b commit 157c83b

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,26 @@ ci:
1212

1313
repos:
1414
- repo: https://github.com/python-poetry/poetry
15-
rev: 2.1.3
15+
rev: 2.2.1
1616
hooks:
1717
- id: poetry-check
1818
args: [--lock, --no-plugins]
1919
- repo: https://github.com/hadialqattan/pycln
20-
rev: v2.5.0
20+
rev: v2.6.0
2121
hooks:
2222
- id: pycln
2323
args: [--config=pyproject.toml]
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.9.0
25+
rev: v0.14.3
2626
hooks:
27-
- id: ruff
27+
- id: ruff-check
2828
args:
2929
- --fix
3030
- --exit-non-zero-on-fix
3131
# - --unsafe-fixes
3232
- id: ruff-format
3333
- repo: https://github.com/pre-commit/mirrors-mypy
34-
rev: v1.14.1
34+
rev: v1.18.2
3535
hooks:
3636
- id: mypy
3737
additional_dependencies: [
@@ -50,7 +50,7 @@ repos:
5050
args: [-W] # to fail on warnings
5151
files: ^(omf/fileio/geoh5\.py$|omf/scripts/|tests/)
5252
- repo: https://github.com/MiraGeoscience/pre-commit-hooks
53-
rev: v1.0.2
53+
rev: v1.1.0
5454
hooks:
5555
- id: check-copyright
5656
files: (^package\.rst|^LICENSE|^README(|-dev)\.rst|\.py|\.pyi)$
@@ -85,13 +85,13 @@ repos:
8585
types: [python]
8686
exclude: ^docs/
8787
- repo: https://github.com/codespell-project/codespell
88-
rev: v2.3.0
88+
rev: v2.4.1
8989
hooks:
9090
- id: codespell
9191
exclude: (\.lock|\.ipynb|^THIRD_PARTY_SOFTWARE\.rst)$
9292
entry: codespell -I .codespellignore
9393
- repo: https://github.com/pre-commit/pre-commit-hooks
94-
rev: v5.0.0
94+
rev: v6.0.0
9595
hooks:
9696
- id: trailing-whitespace
9797
exclude: \.mdj$
@@ -119,7 +119,7 @@ repos:
119119
exclude_types: [jupyter]
120120
exclude: ^docs/(.*/)?images/
121121
- repo: https://github.com/rstcheck/rstcheck
122-
rev: v6.2.4
122+
rev: v6.2.5
123123
hooks:
124124
- id: rstcheck
125125
exclude: ^THIRD_PARTY_SOFTWARE.rst$

0 commit comments

Comments
 (0)