Skip to content

Commit 34b096d

Browse files
committed
STY: Added style dependencies to dev dependencies and organized installation modifiers.
1 parent 929227d commit 34b096d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,21 @@ nib-roi = "nibabel.cmdline.roi:main"
4545
parrec2nii = "nibabel.cmdline.parrec2nii:main"
4646

4747
[project.optional-dependencies]
48+
all = ["nibabel[dicomfs,dev,doc,minc2,spm,style,test,zstd]"]
49+
dev = ["gitpython", "twine", "nibabel[style]"]
4850
dicom = ["pydicom >=1.0.0"]
4951
dicomfs = ["nibabel[dicom]", "pillow"]
50-
dev = ["gitpython", "twine"]
5152
doc = [
5253
"matplotlib >= 1.5.3",
5354
"numpydoc",
5455
"sphinx ~= 5.3",
5556
"texext",
5657
"tomli; python_version < \"3.11\"",
5758
]
59+
doctest = ["nibabel[doc,test]"]
5860
minc2 = ["h5py"]
5961
spm = ["scipy"]
60-
style = ["flake8"]
62+
style = ["flake8", "blue", "isort"]
6163
test = [
6264
"coverage",
6365
"pytest !=5.3.4",
@@ -67,8 +69,6 @@ test = [
6769
"pytest-xdist",
6870
]
6971
zstd = ["pyzstd >= 0.14.3"]
70-
doctest = ["nibabel[doc,test]"]
71-
all = ["nibabel[dicomfs,dev,doc,minc2,spm,style,test,zstd]"]
7272

7373
[tool.setuptools]
7474
platforms = ["OS Independent"]

0 commit comments

Comments
 (0)