-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
214 lines (196 loc) · 4.6 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
[build-system]
build-backend = 'setuptools.build_meta'
requires = ['setuptools >= 64.0.0']
[project]
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering',
'Topic :: Software Development',
]
dependencies = [
'mne >= 1.2',
'numpy >= 1.21',
'packaging',
'pooch',
'psutil',
'scipy >= 1.4.0',
]
description = 'MNE-ICALabel: Automatic labeling of ICA components from MEG, EEG and iEEG data with MNE.'
keywords = [
'eeg',
'ica',
'ieeg',
'meg',
'neuroscience',
]
license = {file = 'LICENSE'}
maintainers = [
{email = '[email protected]', name = 'Adam Li'},
{email = '[email protected]', name = 'Mathieu Scheltienne'},
]
name = 'mne-icalabel'
readme = 'README.md'
requires-python = '~=3.9'
version = "0.8.0.dev0"
[project.optional-dependencies]
all = [
'mne-icalabel[build]',
'mne-icalabel[doc]',
'mne-icalabel[gui]',
'mne-icalabel[ica]',
'mne-icalabel[onnx]',
'mne-icalabel[stubs]',
'mne-icalabel[style]',
'mne-icalabel[test]',
'mne-icalabel[torch]',
]
build = [
'build',
'twine',
]
doc = [
'memory-profiler',
'mne-icalabel[gui]',
'mne-icalabel[ica]',
'mne-icalabel[onnx]',
'numpydoc',
'pydata-sphinx-theme==0.14.1',
'PyQt6',
'sphinx',
'sphinx-copybutton',
'sphinx-design',
'sphinx-gallery',
'sphinx-issues',
'sphinxcontrib-bibtex',
]
full = [
'mne-icalabel[all]',
]
gui = [
'matplotlib',
'mne-qt-browser>=0.6.0',
'qtpy',
]
ica = [
'joblib',
'python-picard',
'scikit-learn',
]
onnx = [
'onnxruntime',
]
stubs = [
'isort',
'mne-icalabel[gui]',
'mne-icalabel[onnx]',
'mne-icalabel[torch]',
'mypy',
'PyQt6',
'ruff>=0.6.0',
]
style = [
'bibclean',
'codespell[toml]>=2.2.4',
'ruff>=0.6.0',
'toml-sort',
'yamllint',
]
test = [
'mne-bids>=0.14',
'mne-icalabel[gui]',
'mne-icalabel[ica]',
'mne-icalabel[onnx]',
'mne-icalabel[torch]',
'pandas',
'pymatreader',
'PyQt6',
'pytest-cov',
'pytest>=8.0.0',
]
torch = [
'torch',
]
[project.scripts]
mne_gui_ic_annotation = 'mne_icalabel.commands.mne_gui_ic_annotation:main'
mne_icalabel-sys_info = 'mne_icalabel.commands.sys_info:run'
[project.urls]
documentation = 'https://mne.tools/mne-icalabel'
source = 'https://github.com/mne-tools/mne-icalabel'
tracker = 'https://github.com/mne-tools/mne-icalabel/issues'
[tool.codespell]
check-filenames = true
check-hidden = true
ignore-words = '.codespellignore'
skip = 'build,.git,.mypy_cache,.pytest_cache'
[tool.coverage.report]
exclude_lines = [
'if __name__ == .__main__.:',
'if TYPE_CHECKING:',
'pragma: no cover',
]
precision = 2
[tool.coverage.run]
branch = true
cover_pylib = false
omit = [
'**/__init__.py',
'**/mne_icalabel/_version.py',
'**/mne_icalabel/commands/*',
'**/mne_icalabel/conftest.py',
'**/mne_icalabel/utils/_fixes.py',
'**/tests/**',
]
[tool.mypy]
ignore_missing_imports = true
no_site_packages = true
[tool.pytest.ini_options]
addopts = '--durations 20 --junit-xml=junit-results.xml -v --color=yes'
junit_family = 'xunit2'
minversion = '8.0'
[tool.ruff]
extend-exclude = []
line-length = 88
target-version = 'py39'
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
ignore = []
select = ['A', 'B', 'D', 'E', 'F', 'G', 'I', 'LOG', 'NPY', 'PIE', 'PT', 'T20', 'UP', 'W']
[tool.ruff.lint.per-file-ignores]
'*' = [
'B904', # 'Within an except clause, raise exceptions with raise ... from ...'
'D100', # 'Missing docstring in public module'
'D104', # 'Missing docstring in public package'
'D107', # 'Missing docstring in __init__'
'UP007', # 'Use `X | Y` for type annotations', requires python 3.10
'UP038', # 'Use X | Y in {} call instead of (X, Y)', requires python 3.10
]
'*.pyi' = ['E501']
'__init__.py' = ['F401']
'examples/*' = ['B018', 'D205', 'D400', 'T201']
'tutorials/*' = ['B018', 'D205', 'D400', 'T201']
[tool.ruff.lint.pydocstyle]
convention = 'numpy'
ignore-decorators = ["mne_icalabel.utils._docs.copy_doc"]
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
'mne_icalabel.iclabel.network' = ['assets/*']
[tool.setuptools.packages.find]
exclude = ['mne_icalabel*tests']
include = ['mne_icalabel*']
[tool.tomlsort]
all = true
ignore_case = true
trailing_comma_inline_array = true