-
Notifications
You must be signed in to change notification settings - Fork 237
Expand file tree
/
Copy pathpyproject.toml
More file actions
188 lines (177 loc) · 5.22 KB
/
pyproject.toml
File metadata and controls
188 lines (177 loc) · 5.22 KB
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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "moabb.__version__"}
[project]
name = "moabb"
dynamic = ["version"]
description = "Mother of All BCI Benchmarks"
authors = [
{ name = "Alexandre Barachant" },
{ name = "Vinay Jayaram" },
]
maintainers = [
{ name = "Sylvain Chevallier", email = "sylvain.chevallier@universite-paris-saclay.fr" },
]
license = { text = "BSD-3-Clause" }
keywords = [
"eeg",
"datasets",
"reproducibility",
"bci",
"benchmark",
"brain-computer interface",
"motor imagery",
"p300",
"ssvep",
"neuroscience",
"mne-python",
"open science",
"electroencephalography",
"signal processing",
"machine learning",
"scikit-learn",
"neural engineering",
"cvep",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"numpy>=2.0",
"scipy>=1.9.3",
"mne>=1.10.0",
"pandas>=1.5.2",
"h5py>=3.10.0",
"pymatreader>=1.2.2",
"matplotlib>=3.6.2",
"seaborn>=0.12.1",
"pyriemann>=0.11",
"PyYAML>=6.0",
"pooch>=1.6.0",
"requests>=2.28.1",
"urllib3>=1.26.15",
"tqdm>=4.64.1",
"coverage>=7.0.1",
"memory-profiler>=0.61.0",
"edflib-python>=1.0.6",
"edfio>=0.4.2",
"filelock>=3.18.0",
"pytest>=8.3.5",
"mne-bids>=0.17",
"scikit-learn>=1.6",
"pybv>=0.7.3",
"pycountry>=24.6.1",
"docstring-inheritance>=2.0.0",
]
[project.urls]
Homepage = "https://moabb.neurotechx.com/docs/"
Documentation = "https://moabb.neurotechx.com/docs/"
Repository = "https://github.com/NeuroTechX/moabb"
"Bug Tracker" = "https://github.com/NeuroTechX/moabb/issues"
Changelog = "https://moabb.neurotechx.com/docs/whats_new.html"
"Dataset Catalog" = "https://moabb.neurotechx.com/docs/dataset_summary.html"
"Benchmark Results" = "https://moabb.neurotechx.com/docs/paper_results.html"
"Cite MOABB" = "https://moabb.neurotechx.com/docs/cite.html"
[project.optional-dependencies]
carbonemission = ["codecarbon>=2.1.4"]
deeplearning = ["braindecode>=0.8.1"]
optuna = ["optuna>=3.6.1", "optuna-integration>=3.6.0"]
xdf = ["pyxdf>=1.16.4"]
interactive = ["plotly>=5.18.0"]
tests = [
"pytest>=8.3.5",
"pytest-cov>=5.0.0",
"codecov>=2.1.0",
"pytest_cases>=3.0.0",
"pytest-xdist>=3.6.1",
]
docs = [
"Sphinx>=8.1.3",
"sphinx-gallery>=0.18.0",
"sphinx-bootstrap-theme>=0.8.1",
"pydata-sphinx-theme>=0.16.1",
"nbformat>=5.10.4",
"numpydoc>=1.8.0",
"myst-parser>=4.0.1",
"sphinx-design>=0.6.1",
"sphinx-rtd-theme>=3.0.2",
"sphinx_copybutton>=0.5.2",
"sphinxcontrib-bibtex>=2.6.3",
"sphinx-favicon>=1.0.1",
"mne-features>=0.3",
"snowballstemmer>=3.0.1",
"sphinx-sitemap",
"sphinxext-opengraph>=0.9.0",
]
all = [
"moabb[carbonemission]",
"moabb[deeplearning]",
"moabb[optuna]",
"moabb[xdf]",
"moabb[interactive]",
"moabb[tests]",
"moabb[docs]",
]
[tool.setuptools]
py-modules = []
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["moabb*"]
exclude = []
namespaces = false
[tool.ruff]
line-length = 90
target-version = "py311"
extend-exclude = ["docs/", "setup.py"]
[tool.ruff.lint]
# pycodestyle/pyflakes (E/F/W), bugbear (B), comprehensions (C4), isort (I).
# mccabe (C90) is intentionally omitted — the old flake8 config declared
# max-complexity=12 but wasn't actually enforced, and retrofitting it would
# require refactoring ~47 functions.
select = ["E", "F", "W", "B", "C4", "I"]
# Matches the old setup.cfg ignore list. W503 and B950 are flake8-only
# concepts with no ruff equivalent and are intentionally omitted.
ignore = ["E203", "E501", "B905"]
[tool.ruff.lint.isort]
known-first-party = ["moabb"]
lines-after-imports = 2
# Paired with format.skip-magic-trailing-comma=true below so import sorting
# and formatting agree on line wrapping.
split-on-trailing-comma = false
[tool.ruff.format]
docstring-code-format = true
# Collapse multi-line constructs that would fit on a single line, matching
# the old isort `profile = "black"` behavior (which predates black's
# magic-trailing-comma feature).
skip-magic-trailing-comma = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
python_files = [
"test_*.py",
]
markers = [
"network: tests that require network access (CrossRef/DataCite APIs)",
"download: tests that require downloading dataset files",
"slow: tests that use real datasets and take a long time to run",
]