-
Notifications
You must be signed in to change notification settings - Fork 95
/
pyproject.toml
170 lines (148 loc) · 3.56 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "tedana"
description = "TE-Dependent Analysis (tedana) of multi-echo functional magnetic resonance imaging (fMRI) data."
readme = "README.md"
authors = [{name = "tedana developers"}]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
license = {file = "LICENSE"}
requires-python = ">=3.8"
dependencies = [
"bokeh>=1.0.0,<=3.6.1",
"mapca>=0.0.4,<=0.0.5",
"matplotlib",
"nibabel>=2.5.1,<=5.3.2",
"nilearn>=0.10.3,<=0.10.4",
"numpy>=1.16,<=2.1.3",
"pandas>=2.0,<=2.2.3",
"pybtex",
"pybtex-apa-style",
"robustica>=0.1.4,<=0.1.4",
"scikit-learn>=0.21, <=1.5.2",
"scipy>=1.2.0, <=1.14.1",
"threadpoolctl",
"tqdm",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/ME-ICA/tedana"
Documentation = "https://www.tedana.readthedocs.io"
Paper = "https://joss.theoj.org/papers/10.21105/joss.03669"
[project.optional-dependencies]
dev = ["pre-commit"]
doc = [
"sphinx>=6.2.1",
"sphinx_copybutton",
"sphinx_rtd_theme>=1.2.2",
"sphinx-argparse",
"sphinxcontrib-bibtex",
]
tests = [
"codecov",
"coverage",
"flake8>=3.7",
"flake8-absolute-import",
"flake8-black",
"flake8-docstrings",
"flake8-isort",
"flake8-pyproject",
"flake8-unused-arguments",
"flake8-use-fstring",
"pep8-naming",
"pytest",
"pytest-cov>=4.0.0",
"requests",
]
# Aliases
all = ["tedana[dev,doc,tests]"]
[project.scripts]
ica_reclassify = "tedana.workflows.ica_reclassify:_main"
t2smap = "tedana.workflows.t2smap:_main"
tedana = "tedana.workflows.tedana:_main"
#
# Hatch configurations
#
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist]
exclude = [".git_archival.txt"] # No longer needed in sdist
[tool.hatch.build.targets.wheel]
packages = ["tedana"]
exclude = [
"tedana/tests/data", # Large test data directory
]
## The following two sections configure setuptools_scm in the hatch way
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "tedana/_version.py"
#
# Developer tool configurations
#
[tool.black]
line-length = 99
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.github
| \.hg
| \.pytest_cache
| \.testing_data_cache
| _build
| build
| dist
)/
| tedana/_version.py
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.flake8]
max-line-length = 99
exclude = [
"*build/",
"tedana/_version.py",
]
ignore = ["E203", "E402", "W503"]
per-file-ignores = [
"*/__init__.py: F401",
"tedana/tests/*: D",
]
docstring-convention = "numpy"
[tool.pydocstringformatter]
write = true
strip-whitespaces = true
max-summary-lines = 1
[tool.coverage.run]
branch = true
omit = [
"*/tests/*",
"*/__init__.py",
"*/conftest.py",
"tedana/_version.py",
]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
'raise NotImplementedError',
'warnings\.warn',
]
[tool.pytest]
log_cli = true