contracts: shared data classes, protocols and contract test suites
Step 1 of the tea_modulo plan: Recording (MNE Raw from EDF), ValidationSummary, Preprocessed, Labels, Study, the Validator/Preprocessor/Process/Biomarker protocols with check_module(), reusable contract suites in contracts.testing, and an AST test that enforces the module boundary rule.
This commit is contained in:
+26
-1
@@ -7,8 +7,33 @@ authors = [
|
||||
{ name = "AlbertoPMDM", email = "albertopmdm@gmail.com" }
|
||||
]
|
||||
requires-python = ">=3.12"
|
||||
dependencies = []
|
||||
dependencies = [
|
||||
"antropy>=0.2.3",
|
||||
"dask>=2026.8.0",
|
||||
"distributed>=2026.8.0",
|
||||
"edfio>=0.4.18",
|
||||
"fhir-resources>=8.3.0",
|
||||
"fooof==1.1.1",
|
||||
"meegkit>=0.2.0",
|
||||
"mlflow>=3.18.0",
|
||||
"mne>=1.13.2",
|
||||
"numpy>=2.5.5",
|
||||
"pandas>=3.1.1",
|
||||
"scikit-learn>=1.9.1",
|
||||
"scipy>=1.18.1",
|
||||
"yasa>=0.8.1",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.13.1,<0.14.0"]
|
||||
build-backend = "uv_build"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest>=9.2.0",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["tests"]
|
||||
markers = ["cluster: needs a Dask scheduler (DASK_SCHEDULER or DASK_SCHEDULER_ADDRESS)"]
|
||||
|
||||
Reference in New Issue
Block a user