Skip to content

Commit b8e3dfe

Browse files
committed
ci: add matchify pre-commit hook
1 parent b8f94b1 commit b8e3dfe

1 file changed

Lines changed: 26 additions & 12 deletions

File tree

.pre-commit-config.yaml

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,16 @@ repos:
2828
additional_dependencies:
2929
- tomli
3030

31-
- repo: https://github.com/tox-dev/pyproject-fmt
32-
rev: v2.29.4
33-
hooks:
34-
- id: pyproject-fmt
35-
3631
- repo: https://github.com/astral-sh/ruff-pre-commit
37-
rev: v0.16.7
32+
rev: v0.16.5
3833
hooks:
3934
- id: ruff-check
4035
- id: ruff-format
4136

42-
- repo: https://github.com/rvben/rumdl-pre-commit
43-
rev: v0.2.73
37+
- repo: https://github.com/tox-dev/pyproject-fmt
38+
rev: v2.28.1
4439
hooks:
45-
- id: rumdl-fmt
46-
- id: rumdl
47-
args: [--fix]
40+
- id: pyproject-fmt
4841

4942
- repo: local
5043
hooks:
@@ -55,11 +48,32 @@ repos:
5548
pass_filenames: false
5649

5750
- repo: https://github.com/astral-sh/uv-pre-commit
58-
rev: 0.12.13
51+
rev: 0.12.7
5952
hooks:
6053
- id: uv-lock
6154

6255
- repo: https://github.com/abravalheri/validate-pyproject
6356
rev: "0.26"
6457
hooks:
6558
- id: validate-pyproject
59+
60+
# - repo: https://github.com/pre-commit/mirrors-mypy
61+
# rev: v1.20.0
62+
# hooks:
63+
# - id: mypy
64+
# args:
65+
# - --explicit-package-bases
66+
# - --ignore-missing-imports
67+
# - --install-types
68+
# - --non-interactive
69+
70+
- repo: https://github.com/pre-commit/mirrors-prettier
71+
rev: v4.0.0-alpha.8
72+
hooks:
73+
- id: prettier
74+
types_or: [toml, yaml]
75+
- repo: https://github.com/15r10nk/matchify
76+
rev: v0.2.0
77+
hooks:
78+
- id: matchify
79+
exclude: ^data_structures/linked_list/doubly_linked_list\.py$

0 commit comments

Comments
 (0)