Skip to content

Commit 98b7bb9

Browse files
committed
MNT: Convert dev optional dependencies to tox
1 parent 22e7472 commit 98b7bb9

File tree

1 file changed

+9
-28
lines changed

1 file changed

+9
-28
lines changed

pyproject.toml

Lines changed: 9 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -49,39 +49,20 @@ nib-roi = "nibabel.cmdline.roi:main"
4949
parrec2nii = "nibabel.cmdline.parrec2nii:main"
5050

5151
[project.optional-dependencies]
52-
all = ["nibabel[dicomfs,dev,doc,minc2,spm,style,test,zstd]"]
53-
dev = ["gitpython", "twine", "nibabel[style]"]
52+
all = ["nibabel[dicomfs,minc2,spm,zstd]"]
53+
# Features
5454
dicom = ["pydicom >=1.0.0"]
5555
dicomfs = ["nibabel[dicom]", "pillow"]
56-
doc = [
57-
"matplotlib >= 1.5.3",
58-
"numpydoc",
59-
"sphinx ~= 5.3",
60-
"texext",
61-
"tomli; python_version < \"3.11\"",
62-
]
63-
doctest = ["nibabel[doc,test]"]
6456
minc2 = ["h5py"]
6557
spm = ["scipy"]
66-
style = ["flake8", "blue", "isort"]
67-
test = [
68-
"coverage",
69-
"pytest !=5.3.4",
70-
"pytest-cov",
71-
"pytest-doctestplus",
72-
"pytest-httpserver",
73-
"pytest-xdist",
74-
]
75-
typing = [
76-
"mypy",
77-
"importlib_resources",
78-
"pydicom",
79-
"pytest",
80-
"pyzstd",
81-
"types-setuptools",
82-
"types-Pillow",
83-
]
8458
zstd = ["pyzstd >= 0.14.3"]
59+
# Dev dependencies: Move to tox, keep aliases to avoid breaking workflows
60+
dev = ["tox"]
61+
doc = ["tox"]
62+
doctest = ["tox"]
63+
style = ["tox"]
64+
test = ["tox"]
65+
typing = ["tox"]
8566

8667
[tool.hatch.build.targets.sdist]
8768
exclude = [

0 commit comments

Comments
 (0)