-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (82 loc) · 1.97 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (82 loc) · 1.97 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "experiment-io"
version = "0.0.0"
description = "Hardware abstraction layer for OperantKit experiment runtime."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "OperantKit contributors" },
]
keywords = [
"behavior-analysis",
"operant-conditioning",
"hardware-abstraction-layer",
"experiment-runtime",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
dependencies = []
[project.optional-dependencies]
hw-serial = [
"pyserial>=3.5",
]
test = [
"pytest>=8",
"pytest-cov",
"hypothesis>=6",
]
dev = [
"experiment-io[test]",
"mypy>=1.10",
"ruff>=0.5",
]
[project.urls]
Homepage = "https://github.com/OperantKit"
Repository = "https://github.com/OperantKit/experiment-io"
[tool.hatch.build.targets.wheel]
packages = ["src/experiment_io"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"--strict-markers",
"--strict-config",
"-ra",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"hw_serial: requires pyserial and actual hardware (skipped by default)",
"hw_hil: requires HIL bridge endpoint (skipped by default)",
"unit: unit-level tests",
"integration: integration-level tests spanning modules",
]
[tool.coverage.run]
branch = true
source = ["experiment_io"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"\\.\\.\\.",
]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "UP", "B", "C4", "SIM", "RET"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_unused_ignores = true
warn_redundant_casts = true