Skip to content

Commit 8f8cae3

Browse files
authored
Merge pull request #1165 from ZviBaratz/deps
STY: Add blue to style dependencies
2 parents d0e6363 + e9c0b28 commit 8f8cae3

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

pyproject.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,30 +45,30 @@ 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 = [
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]"]
5860
minc2 = ["h5py"]
5961
spm = ["scipy"]
60-
style = ["flake8"]
62+
style = ["flake8", "blue", "isort"]
6163
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",
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"]
@@ -83,13 +83,13 @@ nibabel = ["tests/data/*", "*/tests/data/*", "benchmarks/pytest.benchmark.ini"]
8383

8484
[tool.blue]
8585
line_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]
9595
profile = "black"

0 commit comments

Comments
 (0)