Skip to content

Commit 4ac1c0a

Browse files
committed
MNT: Add importlib_resources to typing environment
1 parent 015608c commit 4ac1c0a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ repos:
3737
- pydicom
3838
- numpy
3939
- pyzstd
40+
- importlib_resources
4041
args: ["nibabel"]
4142
pass_filenames: false

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,14 @@ test = [
6868
"pytest-httpserver",
6969
"pytest-xdist",
7070
]
71-
typing = ["mypy", "pytest", "types-setuptools", "types-Pillow", "pydicom"]
71+
typing = [
72+
"mypy",
73+
"pytest",
74+
"types-setuptools",
75+
"types-Pillow",
76+
"pydicom",
77+
"importlib_resources",
78+
]
7279
zstd = ["pyzstd >= 0.14.3"]
7380

7481
[tool.hatch.build.targets.sdist]

0 commit comments

Comments
 (0)