Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (83 loc) · 2.39 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (83 loc) · 2.39 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
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "lab-compiler"
dynamic = ["version"]
description = "A small Python compiler for inspectable laboratory protocols"
readme = "README.md"
requires-python = ">=3.11,<3.13"
license = "Apache-2.0"
license-files = ["LICENSE"]
keywords = ["laboratory", "automation", "compiler", "protocols"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
dependencies = [
"pint>=0.24,<0.27",
"sbol3==1.2.0.post0",
]
[project.urls]
Homepage = "https://github.com/MyersResearchGroup/LabCompiler"
Documentation = "https://github.com/MyersResearchGroup/LabCompiler#readme"
Repository = "https://github.com/MyersResearchGroup/LabCompiler"
Issues = "https://github.com/MyersResearchGroup/LabCompiler/issues"
[project.optional-dependencies]
opentrons = ["opentrons==8.8.2"]
star = ["pylabrobot==0.2.1"]
[dependency-groups]
dev = [
"pytest>=8,<10",
"pytest-asyncio>=1,<2",
"ruff>=0.12,<1",
"mypy>=1.17,<2",
"xlsxwriter>=3.2.9",
"twine>=6.2,<7",
]
[tool.hatch.version]
path = "src/lab/_version.py"
[tool.hatch.build.targets.sdist]
# Keep artifacts compatible with the publishing toolchain's metadata validator.
core-metadata-version = "2.4"
include = [
"/src",
"/tests",
"/examples",
"/scripts",
"/integrations",
"/docs",
"/README.md",
"/CHANGELOG.md",
"/LICENSE",
"/pyproject.toml",
"/uv.lock",
]
[tool.hatch.build.targets.wheel]
core-metadata-version = "2.4"
packages = ["src/lab"]
[tool.ruff]
line-length = 100
target-version = "py311"
extend-exclude = ["build", "dist"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "PLC0415", "TID252"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
asyncio_mode = "auto"
markers = ["integration: requires the optional robot SDKs; never connects to hardware"]
[tool.mypy]
files = ["src/lab", "integrations/labop"]
check_untyped_defs = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = ["opentrons.*", "pylabrobot.*", "sbol3.*", "labop.*", "uml.*"]
ignore_missing_imports = true