Skip to content

Commit edc728c

Browse files
committed
remove annoying hook update
1 parent 7020de9 commit edc728c

2 files changed

Lines changed: 14 additions & 74 deletions

File tree

.pre-commit-config.yaml

Lines changed: 13 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ repos:
2121
rev: v2.4.4
2222
hooks:
2323
- id: biome-format
24-
- repo: https://github.com/H4rryK4ne/update-mypy-hook
25-
rev: v0.3.0
26-
hooks:
27-
- id: update-mypy-hook
2824
- repo: https://github.com/pre-commit/mirrors-mypy
2925
rev: v1.19.1
3026
hooks:
@@ -33,75 +29,19 @@ repos:
3329
pass_filenames: false
3430
language_version: '3.13'
3531
additional_dependencies:
36-
- alabaster==1.0.0
37-
- anndata==0.12.8
38-
- array-api-compat==1.13.0
39-
- babel==2.18.0
40-
- certifi==2026.1.4
41-
- cffi==2.0.0
42-
- charset-normalizer==3.4.4
43-
- click==8.3.1
44-
- cloudpickle==3.1.2
45-
- colorama==0.4.6 ; sys_platform == 'win32'
46-
- coverage==7.13.4
47-
- dask==2026.1.2
48-
- docutils==0.22.4
49-
- donfig==0.8.1.post1
50-
- execnet==2.1.2
51-
- fsspec==2026.2.0
52-
- google-crc32c==1.8.0
53-
- h5py==3.15.1
54-
- idna==3.11
55-
- imagesize==1.4.1
56-
- iniconfig==2.3.0
57-
- jinja2==3.1.6
58-
- joblib==1.5.3
59-
- legacy-api-wrap==1.5
60-
- llvmlite==0.46.0
61-
- locket==1.0.0
62-
- markdown-it-py==4.0.0
63-
- markupsafe==3.0.3
64-
- mdurl==0.1.2
65-
- natsort==8.4.0
66-
- numba==0.63.1
67-
- numcodecs==0.16.5
68-
- numpy==2.3.5
69-
- numpy-typing-compat==20251206.2.3
70-
- optype==0.15.0
71-
- packaging==26.0
72-
- pandas==2.3.3
73-
- partd==1.4.2
74-
- pluggy==1.6.0
75-
- pycparser==3.0 ; implementation_name != 'PyPy'
76-
- pygments==2.19.2
77-
- pytest==9.0.2
78-
- pytest-codspeed==4.3.0
79-
- pytest-doctestplus==1.7.1
80-
- pytest-xdist==3.8.0
81-
- python-dateutil==2.9.0.post0
82-
- pytz==2025.2
83-
- pyyaml==6.0.3
84-
- requests==2.32.5
85-
- rich==14.3.2
86-
- roman-numerals==4.1.0
87-
- scikit-learn==1.8.0
88-
- scipy==1.17.0
89-
- scipy-stubs==1.17.0.2
90-
- six==1.17.0
91-
- snowballstemmer==3.0.1
92-
- sphinx==9.1.0
93-
- sphinxcontrib-applehelp==2.0.0
94-
- sphinxcontrib-devhelp==2.0.0
95-
- sphinxcontrib-htmlhelp==2.1.0
96-
- sphinxcontrib-jsmath==1.0.1
97-
- sphinxcontrib-qthelp==2.0.0
98-
- sphinxcontrib-serializinghtml==2.0.0
99-
- threadpoolctl==3.6.0
100-
- toolz==1.1.0
101-
- types-docutils==0.22.3.20251115
102-
- tzdata==2025.3
103-
- urllib3==2.6.3
104-
- zarr==3.1.5
32+
- anndata>=0.12
33+
- array-api-compat>=1.13
34+
- dask>=2026.1
35+
- h5py>=3.15
36+
- numba>=0.63
37+
- packaging>=26
38+
- pytest>=9
39+
- pytest-codspeed>=4.3
40+
- scikit-learn>=1.8
41+
- scipy-stubs>=1.17
42+
- sphinx>=9
43+
- types-docutils>=0.22
44+
- zarr>=3.1
10545
ci:
10646
autoupdate_commit_msg: 'ci: pre-commit autoupdate'
10747
skip:

src/testing/fast_array_utils/_array_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def _to_scipy_sparse(
317317
x = to_dense(x, to_cpu_memory=True)
318318

319319
cls = cast("type[types.CSBase]", cls or self.cls)
320-
return cls(x, dtype=dtype) # type: ignore[arg-type]
320+
return cls(x, dtype=dtype) # type: ignore[arg-type,misc]
321321

322322
def _to_cupy_array(self, x: ArrayLike | Array, /, *, dtype: DTypeLike | None = None) -> types.CupyArray:
323323
import cupy as cu

0 commit comments

Comments
 (0)