@@ -9,29 +9,29 @@ description = "A flexible framework for volume-to-volume artifact estimation and
99readme = " README.rst"
1010authors = [{
name =
" The NiPreps Developers" ,
email =
" [email protected] " }]
1111classifiers = [
12- " Development Status :: 3 - Alpha" ,
13- " Intended Audience :: Science/Research" ,
14- " Topic :: Scientific/Engineering :: Image Recognition" ,
15- " License :: OSI Approved :: Apache Software License" ,
16- " Programming Language :: Python :: 3.10" ,
17- " Programming Language :: Python :: 3.11" ,
18- " Programming Language :: Python :: 3.12" ,
12+ " Development Status :: 3 - Alpha" ,
13+ " Intended Audience :: Science/Research" ,
14+ " Topic :: Scientific/Engineering :: Image Recognition" ,
15+ " License :: OSI Approved :: Apache Software License" ,
16+ " Programming Language :: Python :: 3.10" ,
17+ " Programming Language :: Python :: 3.11" ,
18+ " Programming Language :: Python :: 3.12" ,
1919]
2020license = " Apache-2.0"
2121requires-python = " >=3.10"
2222dependencies = [
23- " attrs" ,
24- " dipy>=1.5.0" ,
25- " joblib" ,
26- " nipype>= 1.5.1,<2.0" ,
27- " nitransforms>=22.0.0,<24" ,
28- " nireports" ,
29- " numpy>=1.21.3" ,
30- " nest-asyncio>=1.5.1" ,
31- " scikit-image>=0.15.0" ,
32- " scikit_learn>=1.3.0" ,
33- " scipy>=1.8.0" ,
34- " typing_extensions >=4.12" ,
23+ " attrs" ,
24+ " dipy>=1.5.0" ,
25+ " joblib" ,
26+ " nipype>= 1.5.1,<2.0" ,
27+ " nitransforms>=22.0.0,<24" ,
28+ " nireports" ,
29+ " numpy>=1.21.3" ,
30+ " nest-asyncio>=1.5.1" ,
31+ " scikit-image>=0.15.0" ,
32+ " scikit_learn>=1.3.0" ,
33+ " scipy>=1.8.0" ,
34+ " typing_extensions >=4.12" ,
3535]
3636dynamic = [" version" ]
3737
@@ -42,41 +42,37 @@ NiPreps = "https://www.nipreps.org/"
4242
4343[project .optional-dependencies ]
4444doc = [
45- " attrs >= 20.1.0" ,
46- " furo >= 2024.01.29" ,
47- " matplotlib >= 2.2.0" ,
48- " nbsphinx" ,
49- " packaging" ,
50- " pydot >= 1.2.3" ,
51- " pydotplus" ,
52- " sphinx >= 4.5, <8" ,
53- " sphinx-argparse" ,
54- " sphinx_rtd_theme" ,
55- " sphinxcontrib-apidoc" ,
56- " sphinxcontrib-napoleon" ,
57- " sphinxcontrib-versioning" ,
58- " sphinx-argparse" ,
59- " sphinxcontrib-bibtex" ,
45+ " attrs >= 20.1.0" ,
46+ " furo >= 2024.01.29" ,
47+ " matplotlib >= 2.2.0" ,
48+ " nbsphinx" ,
49+ " packaging" ,
50+ " pydot >= 1.2.3" ,
51+ " pydotplus" ,
52+ " sphinx >= 4.5, <8" ,
53+ " sphinx-argparse" ,
54+ " sphinx_rtd_theme" ,
55+ " sphinxcontrib-apidoc" ,
56+ " sphinxcontrib-napoleon" ,
57+ " sphinxcontrib-versioning" ,
58+ " sphinx-argparse" ,
59+ " sphinxcontrib-bibtex" ,
6060]
61-
6261dev = [
63- " ruff" ,
64- " pre-commit" ,
65- " pre-commit-hooks" ,
62+ " ruff" ,
63+ " pre-commit" ,
64+ " pre-commit-hooks" ,
6665]
67-
6866plotting = [" nilearn" ]
69-
7067resmon = [" psutil >=5.4" ]
71-
7268test = [
73- " coverage" ,
74- " ipykernel" ,
75- " mriqc-learn" ,
76- " pytest >= 4.4" ,
77- " pytest-cov" ,
78- " pytest-env" ,
79- " pytest-xdist >= 1.28"
69+ " coverage" ,
70+ " ipykernel" ,
71+ " mriqc-learn" ,
72+ " pytest >= 4.4" ,
73+ " pytest-cov" ,
74+ " pytest-env" ,
75+ " pytest-xdist >= 1.28"
8076]
8177types = [
8278 " pandas-stubs" ,
@@ -87,26 +83,23 @@ types = [
8783 " types-tqdm" ,
8884 " pytest" ,
8985]
90-
9186notebooks = [
92- " jupyter" ,
93- " nbclient" ,
94- " nbmake" ,
95- " mriqc_learn" ,
96- " nipreps-synthstrip" ,
87+ " jupyter" ,
88+ " nbclient" ,
89+ " nbmake" ,
90+ " mriqc_learn" ,
91+ " nipreps-synthstrip" ,
9792]
98-
9993antsopt = [
100- " ConfigSpace" ,
101- " nipreps" ,
102- " scikit-image" ,
103- " smac" ,
94+ " ConfigSpace" ,
95+ " nipreps" ,
96+ " scikit-image" ,
97+ " smac" ,
10498]
105-
10699benchmark = [
107- " asv" ,
108- " pyperf" ,
109- " virtualenv==20.30" ,
100+ " asv" ,
101+ " pyperf" ,
102+ " virtualenv==20.30" ,
110103]
111104
112105# Aliases
@@ -130,10 +123,9 @@ exclude = [".git_archival.txt"] # No longer needed in sdist
130123[tool .hatch .build .targets .wheel ]
131124packages = [" src/nifreeze" ]
132125# exclude = [
133- # "nifreeze/tests/data", # Large test data directory
126+ # "nifreeze/tests/data", # Large test data directory
134127# ]
135128
136-
137129[tool .hatch .version ]
138130validate-bump = true
139131source = " vcs"
@@ -142,7 +134,6 @@ source = "vcs"
142134version_scheme = " nipreps-calver"
143135local_scheme = " no-local-version"
144136
145-
146137[tool .hatch .build .hooks .vcs ]
147138version-file = " src/nifreeze/_version.py"
148139
@@ -180,7 +171,6 @@ exclude = [
180171 " build" ,
181172 " dist" ,
182173]
183- extend-exclude = [" docs/notebooks/PET_example.ipynb" ]
184174
185175[tool .ruff .lint ]
186176select = [
@@ -221,10 +211,10 @@ addopts = "-v --doctest-modules"
221211doctest_optionflags = " ALLOW_UNICODE NORMALIZE_WHITESPACE ELLIPSIS"
222212env = " PYTHONHASHSEED=0"
223213markers = [
224- " random_gtab_data: Custom marker for random gtab data tests" ,
225- " random_dwi_data: Custom marker for random dwi data tests" ,
226- " random_uniform_ndim_data: Custom marker for random multi-dimensional data tests" ,
227- " random_uniform_spatial_data: Custom marker for random spatial data tests" ,
214+ " random_gtab_data: Custom marker for random gtab data tests" ,
215+ " random_dwi_data: Custom marker for random dwi data tests" ,
216+ " random_uniform_ndim_data: Custom marker for random multi-dimensional data tests" ,
217+ " random_uniform_spatial_data: Custom marker for random spatial data tests" ,
228218]
229219filterwarnings = [
230220 " ignore::DeprecationWarning" ,
@@ -234,31 +224,29 @@ filterwarnings = [
234224 " ignore:The optimal value found for dimension.*:sklearn.exceptions.ConvergenceWarning" ,
235225]
236226
237-
238227[tool .coverage .run ]
239228branch = true
240229parallel = true
241- concurrency = [' multiprocessing' ]
230+ concurrency = [" multiprocessing" ]
242231omit = [
243- ' */tests/*' ,
244- ' */testing/*' ,
245- ' */viz/*' ,
246- ' */__init__.py' ,
247- ' */conftest.py' ,
248- ' src/nifreeze/_version.py'
232+ " */tests/*" ,
233+ " */testing/*" ,
234+ " */viz/*" ,
235+ " */__init__.py" ,
236+ " */conftest.py" ,
237+ " src/nifreeze/_version.py"
249238]
250239
251240[tool .coverage .report ]
252241# Regexes for lines to exclude from consideration
253242exclude_lines = [
254- ' raise NotImplementedError' ,
255- ' warnings\.warn' ,
243+ " raise NotImplementedError" ,
244+ " warnings\\ .warn" ,
256245]
257246
258247[tool .codespell ]
259248# nd - import scipy.ndimage as nd
260249# mapp, reson -- Mapp. and Reson. abbreviations in citation
261- ignore-words-list = ' nd,mapp,reson'
250+ ignore-words-list = " nd,mapp,reson"
262251skip = """
263- ./.git,*.pdf,*.svg,*.min.js,*.ipynb,ORIGINAL_LICENSE,\
264- ./docs/source/_static/example_anatreport.html"""
252+ ./.git,*.pdf,*.svg,*.min.js,*.ipynb"""
0 commit comments