@@ -45,30 +45,30 @@ nib-roi = "nibabel.cmdline.roi:main"
4545parrec2nii = " 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]" ]
4850dicom = [" pydicom >=1.0.0" ]
4951dicomfs = [" nibabel[dicom]" , " pillow" ]
50- dev = [" gitpython" , " twine" ]
5152doc = [
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\" " ,
5758]
59+ doctest = [" nibabel[doc,test]" ]
5860minc2 = [" h5py" ]
5961spm = [" scipy" ]
60- style = [" flake8" ]
62+ style = [" flake8" , " blue " , " isort " ]
6163test = [
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" ,
6870]
6971zstd = [" pyzstd >= 0.14.3" ]
70- doctest = [" nibabel[doc,test]" ]
71- all = [" nibabel[dicomfs,dev,doc,minc2,spm,style,test,zstd]" ]
7272
7373[tool .setuptools ]
7474platforms = [" OS Independent" ]
@@ -83,13 +83,13 @@ nibabel = ["tests/data/*", "*/tests/data/*", "benchmarks/pytest.benchmark.ini"]
8383
8484[tool .blue ]
8585line_length = 99
86- target-version = [' py37' ]
87- extend-exclude = '''
86+ target-version = [" py37" ]
87+ extend-exclude = """
8888(
8989 _version.py
9090 | nibabel/externals/
9191)
92- '''
92+ """
9393
9494[tool .isort ]
9595profile = " black"
0 commit comments