Skip to content

Commit 1d02182

Browse files
authored
Fix IO warning (#979)
Signed-off-by: Lukas Heumos <[email protected]>
1 parent 9129acb commit 1d02182

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
fail_fast: false
22
default_stages:
3-
- commit
4-
- push
3+
- pre-commit
4+
- pre-push
55
minimum_pre_commit_version: 2.9.3
66
repos:
77
- repo: https://github.com/astral-sh/ruff-pre-commit
@@ -12,10 +12,6 @@ repos:
1212
args: [--fix, --exit-non-zero-on-fix]
1313
- id: ruff-format
1414
types_or: [python, pyi, jupyter]
15-
- repo: https://github.com/asottile/blacken-docs
16-
rev: 1.19.1
17-
hooks:
18-
- id: blacken-docs
1915
- repo: https://github.com/pre-commit/mirrors-mypy
2016
rev: v1.15.0
2117
hooks:

src/squidpy/read/_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
from typing import Any
55

66
import numpy as np
7-
from anndata import AnnData, read_text
7+
from anndata import AnnData
8+
from anndata.io import read_text
89
from h5py import File
910
from PIL import Image
1011
from scanpy import read_10x_h5, read_10x_mtx

0 commit comments

Comments
 (0)