Skip to content

Commit 020c41f

Browse files
committed
Remove dead hooks.
1 parent 6e08b75 commit 020c41f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ repos:
2424
hooks:
2525
- id: fmt
2626
- id: clippy
27-
- repo: https://github.com/psf/black-pre-commit-mirror
28-
rev: 25.11.0
27+
- repo: https://github.com/astral-sh/ruff-pre-commit
28+
rev: "v0.14.2"
2929
hooks:
30-
- id: black
31-
- repo: https://github.com/pre-commit/mirrors-prettier
32-
rev: "v4.0.0-alpha.8"
33-
hooks:
34-
- id: prettier
30+
- id: ruff-check
31+
args: [--fix, --exit-non-zero-on-fix]
32+
- id: ruff-format
3533
- repo: https://github.com/woodruffw/zizmor
3634
rev: v0.8.0
3735
hooks:

rpds.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
from typing import (
1+
from collections.abc import (
22
ItemsView,
33
Iterable,
44
Iterator,
55
KeysView,
66
Mapping,
7-
TypeVar,
87
ValuesView,
98
)
9+
from typing import (
10+
TypeVar,
11+
)
1012

1113
_T = TypeVar("_T")
1214
_KT_co = TypeVar("_KT_co", covariant=True)

0 commit comments

Comments
 (0)