Skip to content

Commit 8e2ab8c

Browse files
Merge pull request #160 from scverse/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 9985c1d + 6c24620 commit 8e2ab8c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ repos:
1515
hooks:
1616
- id: prettier
1717
- repo: https://github.com/asottile/blacken-docs
18-
rev: 1.16.0
18+
rev: 1.18.0
1919
hooks:
2020
- id: blacken-docs
2121
- repo: https://github.com/PyCQA/isort
2222
rev: 5.13.2
2323
hooks:
2424
- id: isort
2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: v1.10.0
26+
rev: v1.10.1
2727
hooks:
2828
- id: mypy
2929
additional_dependencies: [numpy, types-PyYAML]
@@ -59,7 +59,7 @@ repos:
5959
- --remove-unused-variable
6060
- --ignore-init-module-imports
6161
- repo: https://github.com/PyCQA/flake8
62-
rev: 7.0.0
62+
rev: 7.1.0
6363
hooks:
6464
- id: flake8
6565
additional_dependencies:

src/spatialdata_io/readers/mcmicro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def _create_anndata(
258258
obs=table.drop(columns=var + coords),
259259
var=markers,
260260
obsm={"spatial": table[coords].to_numpy()},
261-
dtype=np.float_,
261+
dtype=float,
262262
)
263263
adata.obs["region"] = pd.Categorical([region_value] * len(adata))
264264
return adata, region_value

0 commit comments

Comments
 (0)