@@ -45,30 +45,30 @@ nib-roi = "nibabel.cmdline.roi:main"
45
45
parrec2nii = " nibabel.cmdline.parrec2nii:main"
46
46
47
47
[project .optional-dependencies ]
48
+ all = [" nibabel[dicomfs,dev,doc,minc2,spm,style,test,zstd]" ]
49
+ dev = [" gitpython" , " twine" , " nibabel[style]" ]
48
50
dicom = [" pydicom >=1.0.0" ]
49
51
dicomfs = [" nibabel[dicom]" , " pillow" ]
50
- dev = [" gitpython" , " twine" ]
51
52
doc = [
52
- " matplotlib >= 1.5.3" ,
53
- " numpydoc" ,
54
- " sphinx ~= 5.3" ,
55
- " texext" ,
56
- " tomli; python_version < \" 3.11\" " ,
53
+ " matplotlib >= 1.5.3" ,
54
+ " numpydoc" ,
55
+ " sphinx ~= 5.3" ,
56
+ " texext" ,
57
+ " tomli; python_version < \" 3.11\" " ,
57
58
]
59
+ doctest = [" nibabel[doc,test]" ]
58
60
minc2 = [" h5py" ]
59
61
spm = [" scipy" ]
60
- style = [" flake8" ]
62
+ style = [" flake8" , " blue " , " isort " ]
61
63
test = [
62
- " coverage" ,
63
- " pytest !=5.3.4" ,
64
- " pytest-cov" ,
65
- " pytest-doctestplus" ,
66
- " pytest-httpserver" ,
67
- " pytest-xdist" ,
64
+ " coverage" ,
65
+ " pytest !=5.3.4" ,
66
+ " pytest-cov" ,
67
+ " pytest-doctestplus" ,
68
+ " pytest-httpserver" ,
69
+ " pytest-xdist" ,
68
70
]
69
71
zstd = [" pyzstd >= 0.14.3" ]
70
- doctest = [" nibabel[doc,test]" ]
71
- all = [" nibabel[dicomfs,dev,doc,minc2,spm,style,test,zstd]" ]
72
72
73
73
[tool .setuptools ]
74
74
platforms = [" OS Independent" ]
@@ -83,13 +83,13 @@ nibabel = ["tests/data/*", "*/tests/data/*", "benchmarks/pytest.benchmark.ini"]
83
83
84
84
[tool .blue ]
85
85
line_length = 99
86
- target-version = [' py37' ]
87
- extend-exclude = '''
86
+ target-version = [" py37" ]
87
+ extend-exclude = """
88
88
(
89
89
_version.py
90
90
| nibabel/externals/
91
91
)
92
- '''
92
+ """
93
93
94
94
[tool .isort ]
95
95
profile = " black"
0 commit comments