File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,23 @@ repos:
4040 additional_dependencies :
4141 - tomli
4242# See https://github.com/scverse/anndata/pull/2174
43- # - repo: https://github.com/pre-commit/mirrors-mypy
44- # rev: v1.18.2
45- # hooks:
46- # - id: mypy
43+ # Running `pre-commit run -a` gives the following error:
44+ # tests/conftest.py: error: Duplicate module named "conftest" (also at "./tests/lazy/conftest.py")
45+ # tests/conftest.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info
46+ # This seems to be the same failure we get on the prec-commit.ci
47+ - repo : https://github.com/pre-commit/mirrors-mypy
48+ rev : v1.18.2
49+ hooks :
50+ - id : mypy
51+ args : [--config-file=pyproject.toml, .]
52+ pass_filenames : false
53+ additional_dependencies :
54+ - pandas
55+ - numpy
56+ - scipy
57+ - h5py
58+ - natsort
59+ - packaging
60+ - array_api_compat
61+ - legacy-api-wrap
62+ - zarr
You can’t perform that action at this time.
0 commit comments