-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (44 loc) · 1.4 KB
/
Copy pathpyproject.toml
File metadata and controls
48 lines (44 loc) · 1.4 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "speech-decoding"
version = "0.1.0"
description = "Cross-patient speech decoding from intra-operative uECOG"
requires-python = ">=3.12,<3.13"
dependencies = [
"torch>=2.0",
"mne>=1.6",
"mne-bids>=0.14",
"numpy>=1.24",
"scipy>=1.11",
"scikit-learn>=1.3",
"pyyaml>=6.0",
"h5py>=3.9",
"tqdm>=4.65",
"transformers>=4.40",
"neuralset>=0.1.0",
"nibabel>=5.1",
"pandas>=2.2",
"hdf5plugin>=6.0.0",
"hf-xet>=1.4.2",
"psutil>=7.2.2",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["src"]
# Default run EXCLUDES `slow`. A CLI `-m` overrides this entirely (pytest takes the last
# -m, it does not AND them), so `scripts/dcc/dispatch`'s `-m must_pass_before_dispatch`
# gate still runs its slow members. Run everything with `-m ""`; run only the slow ones
# with `-m slow`.
addopts = "-m 'not slow'"
markers = [
"slow: loads real BIDS data OR trains a model from scratch on CPU. Deselected by default (addopts); re-run with '-m slow', or the whole suite with '-m \"\"'.",
"must_pass_before_dispatch: pre-dispatch gate (SCAFFOLD-07, B18 closure-gate). Run by `scripts/dcc/dispatch` before sync; aborts on failure.",
]