-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (86 loc) · 2.24 KB
/
pyproject.toml
File metadata and controls
100 lines (86 loc) · 2.24 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "device-skills"
version = "0.1.0"
description = "Modular, standardized device skills for labclaw & device-use"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.11"
authors = [
{ name = "LabClaw Team" },
]
keywords = ["lab-automation", "device-skills", "scientific-instruments"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pydantic>=2.0.0,<3.0.0",
"pyyaml>=6.0,<7.0",
]
[project.optional-dependencies]
biotek-gen5 = [
"matplotlib>=3.7",
"numpy>=1.24",
]
bruker-topspin = [
"nmrglue>=0.9",
"numpy>=1.24",
"matplotlib>=3.7",
]
bruker-2p = [
"tifffile>=2023.0",
"numpy>=1.24",
"matplotlib>=3.7",
"scikit-image>=0.21",
"lxml>=4.9",
]
all = [
"device-skills[biotek-gen5]",
"device-skills[bruker-topspin]",
"device-skills[bruker-2p]",
]
dev = [
"pytest>=8.0,<10.0",
"pytest-asyncio>=0.24,<2.0",
"pytest-cov>=6.0,<8.0",
"ruff>=0.6.0,<1.0.0",
"mypy>=1.11,<2.0",
]
[project.urls]
Repository = "https://github.com/labclaw/device-skills"
[project.entry-points."labclaw.plugins"]
# Each device can register as a labclaw plugin
# biotek_gen5 = "devices.biotek_gen5.driver:create_plugin"
# bruker_topspin = "devices.bruker_topspin.driver:create_plugin"
[tool.hatch.build.targets.wheel]
packages = ["src/device_skills", "devices"]
[tool.ruff.lint.per-file-ignores]
"devices/*/__init__.py" = ["N999"]
"devices/*/tests/__init__.py" = ["N999"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests", "devices"]
asyncio_mode = "auto"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
check_untyped_defs = true
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
[tool.coverage.run]
source = ["device_skills", "devices"]
omit = ["*/tests/*", "*/_template/*"]
[tool.coverage.report]
fail_under = 100